--- Begin Message ---
Subject: |
[PATCH] gnu: Add python-lief. |
Date: |
Mon, 08 Aug 2022 22:52:30 +0800 |
From 2d62c631996a97f98b4a1e7f383db87bb5b960a8 Mon Sep 17 00:00:00 2001
From: Hilton Chain <hako@ultrarare.space>
Date: Mon, 8 Aug 2022 22:50:45 +0800
Subject: [PATCH] gnu: Add python-lief.
* gnu/packages/python-xyz.scm (python-lief): New variable.
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b6ca32a757..300aa2b52a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30353,3 +30353,25 @@ (define-public i3-autotiling
"Script for Sway and i3 to automatically switch the horizontal/vertical
window split orientation.")
(license license:gpl3)))
+
+(define-public python-lief
+ (package
+ (name "python-lief")
+ (version "0.12.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lief-project/LIEF")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1xzbh3bxy4rw1yamnx68da1v5s56ay4g081cyamv67256g0qy2i1"))))
+ (build-system python-build-system)
+ (native-inputs (list cmake))
+ (home-page "https://github.com/lief-project/LIEF")
+ (synopsis "Library to instrument executable formats")
+ (description
+ "LIEF is a cross platform library which can parse, modify and abstract
ELF,
+PE and MachO formats.")
+ (license license:asl2.0)))
base-commit: ec6499aad231b8a5991f38c1ec982be4b3598837
--
2.37.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#57058: [PATCH] gnu: Add python-lief. |
Date: |
Wed, 17 Aug 2022 09:25:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
> * gnu/packages/python-xyz.scm (python-lief): New variable.
Pushed, thanks!
Mathieu
--- End Message ---