From patchwork Mon Aug 8 14:52:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 41378 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id ADF5927BBEA; Mon, 8 Aug 2022 15:54:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6AF3D27BBE9 for ; Mon, 8 Aug 2022 15:54:16 +0100 (BST) Received: from localhost ([::1]:40000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oL491-0005yA-J6 for patchwork@mira.cbaines.net; Mon, 08 Aug 2022 10:54:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL48o-0005xl-M8 for guix-patches@gnu.org; Mon, 08 Aug 2022 10:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oL48o-0004cm-D1 for guix-patches@gnu.org; Mon, 08 Aug 2022 10:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oL48o-0004aF-1a for guix-patches@gnu.org; Mon, 08 Aug 2022 10:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57058] [PATCH] gnu: Add python-lief. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Aug 2022 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57058 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57058@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165997038217551 (code B ref -1); Mon, 08 Aug 2022 14:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Aug 2022 14:53:02 +0000 Received: from localhost ([127.0.0.1]:41487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL47p-0004Yq-Ir for submit@debbugs.gnu.org; Mon, 08 Aug 2022 10:53:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:54588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL47k-0004YZ-Ak for submit@debbugs.gnu.org; Mon, 08 Aug 2022 10:52:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL47i-0005J8-EP for guix-patches@gnu.org; Mon, 08 Aug 2022 10:52:55 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:42958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL47f-0004SK-Q6 for guix-patches@gnu.org; Mon, 08 Aug 2022 10:52:54 -0400 Date: Mon, 08 Aug 2022 22:52:30 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1659970368; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8kGRgEtTIbPOi5YjGtdXhKAxiguxWA2B2jUa7j3F14A=; b=VeFfKMTVgJRaI8TPB299vNQnzH+Oqa1ifoD2YkzMNNUokprOfFk5rdsLzLQEwDYhhsdwCY 1ohDycuHevv+qPTugSPalYeTDGYpTKKt43dqsNXrTZik2C9VTBJ7KGxn3ncQiEHujR61k6 Pe79Czs7209SOfreiMa46D+0kCA5KxXSrUq6yf4xgZ0RKIl8AuwlRq9v5nhXDHiXsiibOi 0pFQpLahItG+CmHr0l73OTcJl7MEh/4KG2mzB8H1M5dV+0KH+uhqcErNOm1mr1mQdottwL vQp9LTY71sVfJi5B7nwzZQtpznnoOYRldePTPiMetbbewHdZKZLuOtmjTgvF6Q== Message-ID: MIME-Version: 1.0 Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: 24 X-Spam_score: 2.4 X-Spam_bar: ++ X-Spam_report: (2.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.997, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain X-getmail-retrieved-from-mailbox: Patches From 2d62c631996a97f98b4a1e7f383db87bb5b960a8 Mon Sep 17 00:00:00 2001 From: Hilton Chain 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(+) base-commit: ec6499aad231b8a5991f38c1ec982be4b3598837 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)))