unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 57058@debbugs.gnu.org
Subject: [bug#57058] [PATCH] gnu: Add python-lief.
Date: Mon, 08 Aug 2022 22:52:30 +0800	[thread overview]
Message-ID: <y76pmhahjo1.wl-hako@ultrarare.space> (raw)

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





             reply	other threads:[~2022-08-08 14:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-08 14:52 Hilton Chain via Guix-patches via [this message]
2022-08-11 15:37 ` [bug#57058] [PATCH] gnu: Add python-lief Mathieu Othacehe
2022-08-16  6:36   ` [bug#57058] [PATCH v2] " Hilton Chain via Guix-patches via
2022-08-16  9:29     ` Mathieu Othacehe
2022-08-16 13:06       ` Hilton Chain via Guix-patches via
2022-08-16 13:30       ` [bug#57058] [PATCH v3] " Hilton Chain via Guix-patches via
2022-08-17  7:25         ` bug#57058: [PATCH] " Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=y76pmhahjo1.wl-hako@ultrarare.space \
    --to=guix-patches@gnu.org \
    --cc=57058@debbugs.gnu.org \
    --cc=hako@ultrarare.space \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).