From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:49152) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlDbg-000781-C6 for guix-patches@gnu.org; Wed, 10 Jul 2019 10:30:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlDbf-0005AR-1p for guix-patches@gnu.org; Wed, 10 Jul 2019 10:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55767) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlDbe-00059P-T1 for guix-patches@gnu.org; Wed, 10 Jul 2019 10:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlDbe-0007b6-Nk for guix-patches@gnu.org; Wed, 10 Jul 2019 10:30:02 -0400 Subject: [bug#36576] [PATCH] gnu: shroud: Update to 0.1.2 Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:48465) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlDb3-000728-0W for guix-patches@gnu.org; Wed, 10 Jul 2019 10:29:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlDb1-0004DM-OC for guix-patches@gnu.org; Wed, 10 Jul 2019 10:29:24 -0400 Received: from knopi.disroot.org ([178.21.23.139]:32838) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hlDb1-0004AN-2w for guix-patches@gnu.org; Wed, 10 Jul 2019 10:29:23 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B65383652E for ; Wed, 10 Jul 2019 16:29:20 +0200 (CEST) Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zZWqbEEKK7gc for ; Wed, 10 Jul 2019 16:29:19 +0200 (CEST) From: Amar Singh Date: Wed, 10 Jul 2019 19:59:06 +0530 Message-ID: <85sgrenetp.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36576@debbugs.gnu.org --=-=-= Content-Type: text/plain Shroud now builds with Guile-2.2. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-shroud-Update-to-0.1.2.patch >From 21bb1505f663084584ab5d61f32a6b168f64f3ca Mon Sep 17 00:00:00 2001 From: Amar Singh Date: Wed, 10 Jul 2019 19:57:29 +0530 Subject: [PATCH] gnu: shroud: Update to 0.1.2. * gnu/packages/password-utils.scm (shroud): Update to 0.1.2. Shroud now builds with Guile-2.2. --- gnu/packages/password-utils.scm | 42 +++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 49024b26c4..5c3cff64c9 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -50,6 +50,7 @@ #:use-module (gnu packages admin) #:use-module (gnu packages aidc) #:use-module (gnu packages authentication) + #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -236,28 +237,49 @@ platforms.") (define-public shroud (package (name "shroud") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) - (uri (string-append "https://files.dthompson.us/shroud/shroud-" - version ".tar.gz")) + (uri (string-append "https://files.dthompson.us/" + name "/shroud-" version ".tar.gz")) (sha256 (base32 - "1y43yhgy2zbrk5bqj3qyx9rkcz2bma9sinlrg7dip3jqms9gq4lr")))) + "1l2shrhvcwfzkar9qiwb75nhcqmx25iz55lzmz0c187nbjhqzi9p")))) (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf-wrapper) + ("automake" ,automake) + ("gettext" ,gettext-minimal))) (arguments - '(#:phases + `(#:modules ((guix build gnu-build-system) + (guix build utils) + (ice-9 popen) + (ice-9 rdelim) + (srfi srfi-26)) + #:phases (modify-phases %standard-phases (add-after 'install 'wrap-shroud - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (ccachedir (string-append out "/lib/guile/2.0/ccache")) - (prog (string-append out "/bin/shroud"))) + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (guile (assoc-ref inputs "guile")) + (xclip (assoc-ref inputs "xclip")) + (prog (string-append out "/bin/shroud")) + (deps (list xclip)) + (effective (read-line + (open-pipe* OPEN_READ + (string-append guile "/bin/guile") + "-c" "(display (effective-version))"))) + (path (map (cut string-append <> "/bin") + (delete #f deps))) + (ccachedir (string-append out + "/lib/guile/" effective "/site-ccache"))) (wrap-program prog + `("PATH" ":" prefix ,path) `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,ccachedir))) #t)))))) (inputs - `(("guile" ,guile-2.0) + `(("guile" ,guile-2.2) ("gnupg" ,gnupg) ("xclip" ,xclip))) (synopsis "GnuPG-based secret manager") -- 2.22.0 --=-=-=--