gnu: pass-git-helper: Update to 4.0.0.

* gnu/packages/password-utils.scm (pass-git-helper): Update to 4.0.0.
[arguments]: Remove patch-pass-path #:phase.
[native-inputs]: Remove python-pytest and python-wheel.
Replace python-setuptools with python-setuptools-next.

Change-Id: Ic293cb82ad680bca3f3ec242bdcf7eb30fe47de2
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Cayetano Santos 2025-09-21 12:25:44 +02:00 committed by Liliana Marie Prikler
parent da9f76db5e
commit 5a34485991
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1457,7 +1457,7 @@ program.")
(define-public pass-git-helper (define-public pass-git-helper
(package (package
(name "pass-git-helper") (name "pass-git-helper")
(version "3.3.0") (version "4.0.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -1467,28 +1467,19 @@ program.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0nih6wxbpnasngdkbyh9df8wrm4b5inca8mshkqpmraqqmckzrk3")))) "0g56jwh3ay6is8cm4579zhaj12kj8q23pnv5rbqaw19i0xv2f0s8"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'build 'patch-pass-path
(lambda* (#:key inputs #:allow-other-keys)
(let* ((password-store (assoc-ref inputs "password-store"))
(pass (string-append password-store "/bin/pass")))
(substitute* '("passgithelper.py"
"test_passgithelper.py")
(("'pass'") (string-append "'" pass "'"))))))
(add-before 'check 'set-home (add-before 'check 'set-home
(lambda _ (lambda _
(setenv "HOME" (getcwd))))))) (setenv "HOME" (getcwd)))))))
(native-inputs (native-inputs
(list python-pytest (list python-pytest-cov
python-pytest-cov
python-pytest-mock python-pytest-mock
python-setuptools python-setuptools-next))
python-wheel))
(inputs (inputs
(list password-store python-pyxdg)) (list password-store python-pyxdg))
(home-page "https://github.com/languitar/pass-git-helper") (home-page "https://github.com/languitar/pass-git-helper")