gnu: emacs-password-store: Refer directly to password-store.
* gnu/packages/emacs-xyz.scm (emacs-password-store)[arguments]: Use gexp style. <#:phases>{'extract-el-file}: New phase. [propagated-inputs]<password-store>: Move it... [inputs]: ...here. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>master
parent
fd024ba0f5
commit
0bb5a235c3
|
@ -18918,24 +18918,31 @@ close, copy, cut, paste, undo, redo.")
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "git://git.zx2c4.com/password-store")
|
(url "git://git.zx2c4.com/password-store")
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ni62f4pq96g0i0q66bch1dl9k4zqwhg7xaf746k3gbbqxcdh3vi"))
|
"0ni62f4pq96g0i0q66bch1dl9k4zqwhg7xaf746k3gbbqxcdh3vi"))))
|
||||||
(file-name (git-file-name name version))))
|
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list #:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'extract-el-file
|
(add-after 'unpack 'extract-el-file
|
||||||
(lambda _
|
(lambda _
|
||||||
(copy-file "contrib/emacs/password-store.el" "password-store.el")
|
(copy-file "contrib/emacs/password-store.el"
|
||||||
(delete-file-recursively "contrib")
|
"password-store.el")
|
||||||
(delete-file-recursively "man")
|
(delete-file-recursively "contrib")
|
||||||
(delete-file-recursively "src")
|
(delete-file-recursively "man")
|
||||||
(delete-file-recursively "tests"))))))
|
(delete-file-recursively "src")
|
||||||
|
(delete-file-recursively "tests")))
|
||||||
|
(add-after 'extract-el-file 'patch-executables
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(emacs-substitute-variables "password-store.el"
|
||||||
|
("password-store-executable"
|
||||||
|
(search-input-file inputs "/bin/pass"))))))))
|
||||||
|
(inputs
|
||||||
|
(list password-store))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list emacs-auth-source-pass emacs-s emacs-with-editor
|
(list emacs-auth-source-pass emacs-s emacs-with-editor))
|
||||||
password-store))
|
|
||||||
(home-page "https://git.zx2c4.com/password-store/tree/contrib/emacs")
|
(home-page "https://git.zx2c4.com/password-store/tree/contrib/emacs")
|
||||||
(synopsis "Password store (pass) support for Emacs")
|
(synopsis "Password store (pass) support for Emacs")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue