Subject: bug#57058: closed (Re: bug#57058: [PATCH] gnu: Add python-lief.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 17 Aug 2022 07:26:02 +0000

Your bug report

#57058: [PATCH] gnu: Add python-lief.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
57058: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57058
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#57058: [PATCH] gnu: Add python-lief.
From: Mathieu Othacehe <[email-masked]>
To: Hilton Chain <[email-masked]>
Cc: [email-masked]
Date: Wed, 17 Aug 2022 09:25:04 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> * gnu/packages/python-xyz.scm (python-lief): New variable.

Pushed, thanks!

Mathieu

Subject: [PATCH] gnu: Add python-lief.
From: Hilton Chain <[email-masked]>
To: [email-masked]
Date: Mon, 08 Aug 2022 22:52:30 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From 2d62c631996a97f98b4a1e7f383db87bb5b960a8 Mon Sep 17 00:00:00 2001
From: Hilton Chain <[email-masked]>
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