[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: pinentry-rofi: Update to 2.0.2.
From: |
guix-commits |
Subject: |
branch master updated: gnu: pinentry-rofi: Update to 2.0.2. |
Date: |
Thu, 28 Jan 2021 08:21:54 -0500 |
This is an automated email from the git hooks/post-receive script.
ngz pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 049e06b gnu: pinentry-rofi: Update to 2.0.2.
049e06b is described below
commit 049e06b603ef0b8fcf5fa314379b9c525c58f53f
Author: Fredrik Salomonsson <plattfot@posteo.net>
AuthorDate: Wed Jan 27 18:02:07 2021 -0800
gnu: pinentry-rofi: Update to 2.0.2.
* gnu/packages/gnupg.scm (pinentry-rofi): Update to 2.0.2.
[arguments]: Simplify the package definition.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/gnupg.scm | 39 ++++++++-------------------------------
1 file changed, 8 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 6e80ca3..9be8a32 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -894,7 +894,7 @@ passphrase when @code{gpg} is run and needs it.")))
(define-public pinentry-rofi
(package
(name "pinentry-rofi")
- (version "2.0.1")
+ (version "2.0.2")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -902,7 +902,7 @@ passphrase when @code{gpg} is run and needs it.")))
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
"044bnldz7k74s873jwsjgff176l1jsvpbaka7d1wcj8b5pwqv2av"))))
+ (base32
"14rbz32ykc8pz7gglbvxm3pcgabr7xdnddar6k24icd5xk9mr4rp"))))
(build-system gnu-build-system)
(arguments
`(#:modules
@@ -914,38 +914,15 @@ passphrase when @code{gpg} is run and needs it.")))
%standard-phases
(add-after 'install 'hall-wrap-binaries
(lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((compiled-dir
- (lambda (out version)
- (string-append out "/lib/guile/" version
"/site-ccache")))
- (uncompiled-dir
- (lambda (out version)
- (string-append
- out
- "/share/guile/site"
- (if (string-null? version) "" "/")
- version)))
- (dep-path
- (lambda (env path)
- (list env ":" 'prefix (list path))))
- (out (assoc-ref outputs "out"))
+ (let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin/"))
- (site (uncompiled-dir out "")))
+ (site (string-append out "/share/guile/site"))
+ (rofi-bin (string-append (assoc-ref inputs "rofi")
"/bin")))
(match (scandir site)
(("." ".." version)
- (for-each
- (lambda (file)
- (wrap-program
- (string-append bin file)
- (dep-path
- "PATH"
- (string-append (assoc-ref inputs "rofi") "/bin"))
- (dep-path
- "GUILE_LOAD_PATH"
- (uncompiled-dir out version))
- (dep-path
- "GUILE_LOAD_COMPILED_PATH"
- (compiled-dir out version))))
- ,''("pinentry-rofi"))
+ (wrap-program
+ (string-append bin "pinentry-rofi")
+ (list "PATH" ":" 'prefix `(,rofi-bin)))
#t))))))))
(native-inputs
`(("autoconf" ,autoconf)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: pinentry-rofi: Update to 2.0.2.,
guix-commits <=