From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qGWMLn49+2K5GwEAbAwnHQ (envelope-from ) for ; Tue, 16 Aug 2022 08:47:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cMefLX49+2J+zAAAG6o9tA (envelope-from ) for ; Tue, 16 Aug 2022 08:47:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4DD511A188 for ; Tue, 16 Aug 2022 08:47:26 +0200 (CEST) Received: from localhost ([::1]:46948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNqMG-0005Zc-Us for larch@yhetil.org; Tue, 16 Aug 2022 02:47:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNqDC-0006Fz-Re for guix-patches@gnu.org; Tue, 16 Aug 2022 02:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNqDC-00052a-It for guix-patches@gnu.org; Tue, 16 Aug 2022 02:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNqDC-0004oh-9X for guix-patches@gnu.org; Tue, 16 Aug 2022 02:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57058] [PATCH v2] gnu: Add python-lief. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Aug 2022 06:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57058 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57058@debbugs.gnu.org Cc: Mathieu Othacehe Received: via spool by 57058-submit@debbugs.gnu.org id=B57058.166063186418491 (code B ref 57058); Tue, 16 Aug 2022 06:38:02 +0000 Received: (at 57058) by debbugs.gnu.org; 16 Aug 2022 06:37:44 +0000 Received: from localhost ([127.0.0.1]:44629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNqCu-0004oB-24 for submit@debbugs.gnu.org; Tue, 16 Aug 2022 02:37:44 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:58154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNqCq-0004nt-8B for 57058@debbugs.gnu.org; Tue, 16 Aug 2022 02:37:42 -0400 Date: Tue, 16 Aug 2022 14:36:29 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1660631853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=woTf93skvhmcb/700hFSmcz9V6nqkZYhcmOhor34510=; b=QXebdhOw80iTRRHYQrv4rS1uwH+BDEH9lH+PJP3uxW4v1o5N9lFyFAc7yX+GDK6cIZYlaG xWGFW4b50oCloZ0F64xIkGZaorlKgLUVblI3CL0J3GPPTT8VZz9Py9xxt5mlIjTvwD4N+f du1EPN1YkV8eVRZFJf67Y12ymBrucWhObiFx6nSm/mN8r+abt/uSrTAwShuemq60FWl01d pLv1cSDNZL1JL4A+iTuASUb446zlaYsIdBRxvzPKR0/OTKeHV1yB3Jli2QXKpuBwmvEjpo 34prCFhJZUfXIJaswTl+VpFip3kY8VWpy4V02RiNGaA34ODNxNmf5PlSZ8Ohtw== Message-ID: In-Reply-To: <87bksq23md.fsf@gnu.org> References: <87bksq23md.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660632446; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=woTf93skvhmcb/700hFSmcz9V6nqkZYhcmOhor34510=; b=ELH/TK9rcYemYeTm42nFL/5yxLDZbY3AQLKckdRuoj/zeB4FXCC3IWxkltMwJHlmCLbcl1 gz8DNu2Qv5ukoQKXpheHg1fSmJ/2Xm8xH2LEeNIVK8V0mkYlt4doh9Q4n7gb0ysTK8v/Iy YoWWmFyul3o/Zp5G03vKqL9vGmKBJRKTMxiiw3pKgpG6il0ZttOZJfPauPR8LDnt9pOAhU 8jieyYWBgWafCWQELuy+HmXBKE/sa8DoQmNtz3uBKYJ004sh2vuzonfjQqEsCJnVMtqbcP bflPUBZrXCvz/nYbPJJ9nr0NmYVbB5PjpvH5O983LcgrpGZYr0jNXHf1DfM5vw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660632446; a=rsa-sha256; cv=none; b=ngEC29oKuO2eXF0k9CseUWNkbBy230ZDAeAREC5x6nx+f1zkgDd1a2YikqiF8Dwy7UF9i3 ymcQZyCUK3PdN5NG/knGGvvpkTqTZyK0cnOVooiqntmOkR+L8yqKYhe2AfpvitUHduZSEK 1UMhhKdhKyA8XvrD48cdiAZO/XmNsENcaM0jw7jfmkJVuOQ0IIm2M5Kayo7ImG3rWlvkPk BCx46CSRehcas6MFt41CKXCtJVs1FK9Jm85ZHZeKCfXZ7BUVHMVGRh4Q4AK+POVp72UU5u wBxYcW2FNjsDrpNmnu9A5H7XvmzeqZEo0NqpgQvgrVBkbVaiLvnNMZSZZdBQ0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=QXebdhOw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=QXebdhOw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4DD511A188 X-Spam-Score: -3.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6+USIR/CjKOO =46rom b9ce692513271f33baf8e45cd10d0a350047986c Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 16 Aug 2022 14:31:05 +0800 Subject: [PATCH v2] gnu: Add python-lief. * gnu/packages/python-xyz.scm (python-lief): New variable. --- v1 -> v2: Enable parallel compilation. Sorry for the latency! >_< gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3259f46881..ecc1eab67c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30644,3 +30644,33 @@ (define-public python-misskey "This package provides access to Misskey's API. Misskey is a SNS platform using the ActivityPub protocol.") (license license:expat))) + +(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)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'build + (lambda _ + (invoke "python" "setup.py" "--sdk" "build" + (string-append + "-j" (number->string (parallel-job-count))))))= ))) + (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 abstrac= t ELF, +PE and MachO formats.") + (license license:asl2.0))) base-commit: ace7b5babe118adb9caf116eb8273f7db6e7f152 --=20 2.37.2