gnu: password-store: Update to 1.7.3-1.918992c.

* gnu/packages/password-utils.scm (password-store): Update to
1.7.3-1.918992c.
[arguments]<#:phases>['wrap-path]: Add "wl-clipboard".
[inputs]: Add "wl-clipboard".

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This commit is contained in:
Sébastien Lerique 2021-03-07 22:15:26 +09:00 committed by Tobias Geerinckx-Rice
parent 5d0f394b85
commit 81404a858c
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -516,17 +516,23 @@ any X11 window.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public password-store (define-public password-store
;; The 1.7.3 release does not include support for wl-clipboard, which was
;; added in b0b784b1a57c0b06936e6f5d6560712b4b810cd3. Instead, use the
;; latest commit on master at the time of writing.
(let ((commit "918992c19231b33b3d4a3288a7288a620e608cb4")
(revision "1"))
(package (package
(name "password-store") (name "password-store")
(version "1.7.3") (version (git-version "1.7.3" revision commit))
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (uri (git-reference
(string-append "https://git.zx2c4.com/password-store/snapshot/" (url "git://git.zx2c4.com/password-store")
name "-" version ".tar.xz")) (commit commit)))
(sha256 (sha256
(base32 (base32
"1x53k5dn3cdmvy8m4fqdld4hji5n676ksl0ql4armkmsds26av1b")))) "0ni62f4pq96g0i0q66bch1dl9k4zqwhg7xaf746k3gbbqxcdh3vi"))
(file-name (git-file-name name version)) ))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases '(#:phases
@ -566,7 +572,7 @@ any X11 window.")
(path (map (lambda (pkg) (path (map (lambda (pkg)
(string-append (assoc-ref inputs pkg) "/bin")) (string-append (assoc-ref inputs pkg) "/bin"))
'("coreutils" "getopt" "git" "gnupg" "qrencode" '("coreutils" "getopt" "git" "gnupg" "qrencode"
"sed" "tree" "which" "xclip")))) "sed" "tree" "which" "wl-clipboard" "xclip"))))
(wrap-program (string-append out "/bin/pass") (wrap-program (string-append out "/bin/pass")
`("PATH" ":" prefix (,(string-join path ":")))) `("PATH" ":" prefix (,(string-join path ":"))))
#t)))) #t))))
@ -592,6 +598,7 @@ any X11 window.")
("sed" ,sed) ("sed" ,sed)
("tree" ,tree) ("tree" ,tree)
("which" ,which) ("which" ,which)
("wl-clipboard" ,wl-clipboard)
("xclip" ,xclip) ("xclip" ,xclip)
("xdotool" ,xdotool))) ("xdotool" ,xdotool)))
(home-page "https://www.passwordstore.org/") (home-page "https://www.passwordstore.org/")
@ -602,7 +609,7 @@ GnuPG-encrypted file, allowing the program to be simple yet secure.
Synchronization is possible using the integrated git support, which commits Synchronization is possible using the integrated git support, which commits
changes to your password database to a git repository that can be managed changes to your password database to a git repository that can be managed
through the pass command.") through the pass command.")
(license license:gpl2+))) (license license:gpl2+))))
(define-public pass-otp (define-public pass-otp
(package (package