From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CA8wJ12c+2Jm3QAAbAwnHQ (envelope-from ) for ; Tue, 16 Aug 2022 15:32:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oMpZJ12c+2If3AAAauVa8A (envelope-from ) for ; Tue, 16 Aug 2022 15:32:13 +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 6E2731667A for ; Tue, 16 Aug 2022 15:32:13 +0200 (CEST) Received: from localhost ([::1]:45244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNwg0-0007dj-JP for larch@yhetil.org; Tue, 16 Aug 2022 09:32:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNwfq-0007bV-87 for guix-patches@gnu.org; Tue, 16 Aug 2022 09:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNwfp-0003iw-VE for guix-patches@gnu.org; Tue, 16 Aug 2022 09:32:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNwfp-0003Wd-RF for guix-patches@gnu.org; Tue, 16 Aug 2022 09:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57058] [PATCH v3] gnu: Add python-lief. In-Reply-To: Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Aug 2022 13:32:01 +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.166065666813303 (code B ref 57058); Tue, 16 Aug 2022 13:32:01 +0000 Received: (at 57058) by debbugs.gnu.org; 16 Aug 2022 13:31:08 +0000 Received: from localhost ([127.0.0.1]:45359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNwex-0003ST-Vz for submit@debbugs.gnu.org; Tue, 16 Aug 2022 09:31:08 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:39198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNweu-0003KU-Ek for 57058@debbugs.gnu.org; Tue, 16 Aug 2022 09:31:06 -0400 Date: Tue, 16 Aug 2022 21:30:32 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1660656657; 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: references:references; bh=ZZKKudCrBwOkMYk5YGhQ8S+/YxGYGODC8QF+J0enKsE=; b=ln+QI1/1p5aNZPbVcIcwwlz8ocaACJIOzcsMkzTUB/lBKuqQWvndOMU+U6z5X7gURc6QUJ dZ4ZZn1b5jUeVenkZQSlFaZ+GoIyvVNU5X0ac/qlwQHr1Q/lrgGpQbdykP6B99gErnkclc SBu0SPujH3Vkviy1dIVS/WNcpaza4/rLrjP46gQfGdI24C6HkXwbsQXzoi7E2dzOfU6O0y vipH8XV1S2410nQSwT9GClAtspEPbpKV6KfTfPl7PVeZa3ljtWVYVpSnl+25cNbIXBBcEw 2614qIi+5i+xQ2ny3w4D3imKZYoc/VY0vo5fcbc/6FB7aT9fC/UYfNs11h2Mig== Message-ID: References: <87bksq23md.fsf@gnu.org> <875yiscz9p.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=1660656733; 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=ZZKKudCrBwOkMYk5YGhQ8S+/YxGYGODC8QF+J0enKsE=; b=HlvPpuTksVRhObpjF+JaBOCHeUgXuKQinsVs0SGLjFL4FxzKlh68Sh64DilF+rNx+OKj67 Z9x4ddX3phAxmj/OP42B1878ikoEpk33ZjCdxBWJIb1vO76cV+nts7sEh4NVkwbBfklhxW H/Xh0kSMaV2cwSwTSqmc5fw3qseuh/0j9De6yLyXBWrG5chwntr754iSQSuEEfFU2cc1Dw phpK7XKq1lJwPoETRtWjQbbPcpBD22v7RhGgg3aIPHOMCnsBwi0JLcQs6tZ+qXyZYz+AHy GXRtYOjR2tBDzo1b5rdZNghLGssEnYpUpQPXB/1O+4q1ruFuz8ugxdrLjVj6Bw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660656733; a=rsa-sha256; cv=none; b=hNXygF4DWjHddtS5aI1t4qCH/eeYfNzHo5TURzhgYfvnqtl6aoE0dd5AreBKajwhYos4KK XT88zFQLt1IcQHx38q3qvi2DNZEoGhOGSp/Etl41NfQE9gDihrV53TsF3y8T1Qr019NGZf xWxeWhKOL+7szazNpdZa2YXO9/VwpVC90e4/+pkwG+k480lSvaok+JLpGS1NrNwYyCU8so Isk6u/47KZ+DeQNpLN9nXSlUxaYs2DA9Ubr+Lq6zbMa32UENGk7Wjfz2F5xDqHUO/g/tc9 CRJebAGt3Dq8SI3PZQx5yNvl3/5RW9ETDYFXawSPJtYUKD+xADuwbnMVXZiVOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="ln+QI1/1"; 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.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="ln+QI1/1"; 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: 6E2731667A X-Spam-Score: -3.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: DQb6Ua66nJUk =46rom c865b31b702d0e5f86faaadcb306cea269ae1109 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 16 Aug 2022 21:26:33 +0800 Subject: [PATCH v3] gnu: Add python-lief. * gnu/packages/python-xyz.scm (python-lief): New variable. --- v2 -> v3: Disable tests. gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3259f46881..fbb52a300f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30644,3 +30644,34 @@ (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 #:tests? #f ;needs network + #: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