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 @@ (define-public assword
(license license:gpl3+)))
(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
(name "password-store")
(version "1.7.3")
(version (git-version "1.7.3" revision commit))
(source (origin
(method url-fetch)
(uri
(string-append "https://git.zx2c4.com/password-store/snapshot/"
name "-" version ".tar.xz"))
(method git-fetch)
(uri (git-reference
(url "git://git.zx2c4.com/password-store")
(commit commit)))
(sha256
(base32
"1x53k5dn3cdmvy8m4fqdld4hji5n676ksl0ql4armkmsds26av1b"))))
"0ni62f4pq96g0i0q66bch1dl9k4zqwhg7xaf746k3gbbqxcdh3vi"))
(file-name (git-file-name name version)) ))
(build-system gnu-build-system)
(arguments
'(#:phases
@ -566,7 +572,7 @@ (define-public password-store
(path (map (lambda (pkg)
(string-append (assoc-ref inputs pkg) "/bin"))
'("coreutils" "getopt" "git" "gnupg" "qrencode"
"sed" "tree" "which" "xclip"))))
"sed" "tree" "which" "wl-clipboard" "xclip"))))
(wrap-program (string-append out "/bin/pass")
`("PATH" ":" prefix (,(string-join path ":"))))
#t))))
@ -592,6 +598,7 @@ (define-public password-store
("sed" ,sed)
("tree" ,tree)
("which" ,which)
("wl-clipboard" ,wl-clipboard)
("xclip" ,xclip)
("xdotool" ,xdotool)))
(home-page "https://www.passwordstore.org/")
@ -602,7 +609,7 @@ (define-public password-store
Synchronization is possible using the integrated git support, which commits
changes to your password database to a git repository that can be managed
through the pass command.")
(license license:gpl2+)))
(license license:gpl2+))))
(define-public pass-otp
(package