From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aDj7DkWmamQXEgEASxT56A (envelope-from ) for ; Mon, 22 May 2023 01:16:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gJn/DkWmamRDOgAAauVa8A (envelope-from ) for ; Mon, 22 May 2023 01:16:21 +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 C689419D0D for ; Mon, 22 May 2023 01:16:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0sHY-00047y-Bp; Sun, 21 May 2023 19:16:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0sHW-00047c-FX for guix-patches@gnu.org; Sun, 21 May 2023 19:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0sHS-0007Hh-LZ for guix-patches@gnu.org; Sun, 21 May 2023 19:16:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0sHS-0004gz-HA for guix-patches@gnu.org; Sun, 21 May 2023 19:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63635] [PATCH 1/2] gnu: sbsigntools: Convert to gexp, new-style inputs. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 May 2023 23:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63635 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63635@debbugs.gnu.org Cc: Felix Lechner Received: via spool by 63635-submit@debbugs.gnu.org id=B63635.168471090417949 (code B ref 63635); Sun, 21 May 2023 23:16:02 +0000 Received: (at 63635) by debbugs.gnu.org; 21 May 2023 23:15:04 +0000 Received: from localhost ([127.0.0.1]:33001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0sGW-0004fM-Ar for submit@debbugs.gnu.org; Sun, 21 May 2023 19:15:04 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]:39994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0sGT-0004eT-N2 for 63635@debbugs.gnu.org; Sun, 21 May 2023 19:15:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=lY0HLMvGuMEfcfX fh/ADkWPVAYofZueizBQAxsYxxeo=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=NSbW8ag6zZe47GmoXIJDuS4+dsSv1171GSfRstkT HMaqCrm0xt8osaghShX+ouQAP590Qi6JvDXX7FuvWnD3ZOr6oeB5HAXIvPxir7kt7xkSGT bKn7Pvf/IsY7WPJAcyCKJpGvL9lRC00IbuTZDYYgtsE1XRZx1NXlnX+KwsgdY= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id d3e1a1e4 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sun, 21 May 2023 23:15:00 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f093d2e2; Sun, 21 May 2023 23:15:00 +0000 (UTC) Date: Sun, 21 May 2023 16:14:50 -0700 Message-Id: <0862d94d5bd537e3ea02e268eff832d78aaba3be.1684710672.git.felix.lechner@lease-up.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches From: Felix Lechner via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684710981; a=rsa-sha256; cv=none; b=OfVb37sjc5InRfx9gTWjVsK7JpVBGOPImga3HWUqiD+vgMw6FHpYkfgVgBxefCqkdx2UGR OTEloMyS2DNLIYhJEsTCOl4g3sZOHJvtnlZZhEAi4gthyZBmgo9m6XEL8yNJcaPpo/R9eB uI8puCME3qy0hjk9OL+dCloQUpBLa1lGwNj/7+henkfQlVX46IqpVJAq2nPpaZTevTD3LY 0yoFTBQkXOF/hSDDqViwHWI6eBzy2KFISx0m+9l9rJcbCiUEoVK5efXe83FE/rC0HccHpK hJQSdLTMPBCoJ80fLNwXd91yIWb4DELwTWOma2pgnxjPK4QlA0sWQZa7i9bJ0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=NSbW8ag6; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684710981; 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-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=tfF5JLIVUqP3U9rdVYDT0C9vISHd3iL/QH+f6tBpN0M=; b=WoUbBFmdX3oVDMMvpXAGWoOOozTRSpNCunRtloaqzcADd9Kgvo06m54CZx9LqRsKDGXvFs hdsU5vrrJ5Tg8Hd02LMaNmM/0fUqqDMzS8hi2UC6qAUJgtrz8J3Fw2KhhdRjojCnPyN8g1 K5dMKX5VnHnUryka2iKhutd8+KGl6DJZpT9u7ooT9g57KIW81JGRe+JJ5hHU5DKi1WB8kJ 1Av15WVanIcwuEJZL9HjBCGV9qpnUgh/djNJSwJeHJLKfdKJIenP2/pXLf608Fe2D8IqVk 0Qllv3aPiqD6+Uk8CV5QedV4dU84Y2a7g+TrCZ1e5PFevNF2svOhumRtruB4jw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=NSbW8ag6; 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: -1.68 X-Spam-Score: -1.68 X-Migadu-Queue-Id: C689419D0D X-TUID: QV38dRN3RucU * gnu/packages/efi.scm (sbsigntools): Convert to gexp, new-style inputs. --- gnu/packages/efi.scm | 54 +++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/gnu/packages/efi.scm b/gnu/packages/efi.scm index 75eb24bf86..b3da555549 100644 --- a/gnu/packages/efi.scm +++ b/gnu/packages/efi.scm @@ -30,6 +30,7 @@ (define-module (gnu packages efi) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system gnu) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils) @@ -113,31 +114,28 @@ (define-public sbsigntools (base32 "1y76wy65y6k10mjl2dm5hb5ms475alr4s080xzj8y833x01xvf3m")))) (build-system gnu-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-more-shebangs - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "lib/ccan.git/tools/create-ccan-tree" - (("#!/bin/bash") - (string-append "#!" - (assoc-ref inputs "bash") - "/bin/bash"))) - #t)) - (add-after 'unpack 'patch - (lambda* (#:key inputs outputs #:allow-other-keys) - (substitute* '("configure.ac" - "tests/Makefile.am") - (("/usr/include/efi") - (string-append (assoc-ref inputs "gnu-efi") - "/include/efi")) - (("/usr/lib/gnuefi") - (string-append (assoc-ref inputs "gnu-efi") - "/lib"))) - #t)) - (add-after 'unpack 'setenv - (lambda _ - (setenv "CC" "gcc") - #t))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-more-shebangs + (lambda _ + (substitute* "lib/ccan.git/tools/create-ccan-tree" + (("#!/bin/bash") + (string-append "#!" #$bash "/bin/bash"))) + #t)) + (add-after 'unpack 'patch + (lambda _ + (substitute* '("configure.ac" + "tests/Makefile.am") + (("/usr/include/efi") + (string-append #$gnu-efi "/include/efi")) + (("/usr/lib/gnuefi") + (string-append #$gnu-efi "/lib"))) + #t)) + (add-after 'unpack 'setenv + (lambda _ + (setenv "CC" "gcc") + #t))))) (native-inputs (list autoconf automake @@ -146,9 +144,9 @@ (define-public sbsigntools pkg-config util-linux)) ; getopt (inputs - `(("gnu-efi" ,gnu-efi) - ("libuuid" ,util-linux "lib") - ("openssl" ,openssl))) + (list gnu-efi + (list util-linux "lib") + openssl)) (synopsis "EFI signing tools") (description "This package provides tools for signing EFI binaries.") (home-page "https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git/") -- 2.40.1