~ruther/guix-local

5a34485991c0e69aa24bf9dfd9e09663dc192f3f — Cayetano Santos 9 months ago da9f76d
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>
1 files changed, 4 insertions(+), 13 deletions(-)

M gnu/packages/password-utils.scm
M gnu/packages/password-utils.scm => gnu/packages/password-utils.scm +4 -13
@@ 1457,7 1457,7 @@ program.")
(define-public pass-git-helper
  (package
    (name "pass-git-helper")
    (version "3.3.0")
    (version "4.0.0")
    (source
     (origin
       (method git-fetch)


@@ 1467,28 1467,19 @@ program.")
       (file-name (git-file-name name version))
       (sha256
        (base32
         "0nih6wxbpnasngdkbyh9df8wrm4b5inca8mshkqpmraqqmckzrk3"))))
         "0g56jwh3ay6is8cm4579zhaj12kj8q23pnv5rbqaw19i0xv2f0s8"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #: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
            (lambda _
              (setenv "HOME" (getcwd)))))))
    (native-inputs
     (list python-pytest
           python-pytest-cov
     (list python-pytest-cov
           python-pytest-mock
           python-setuptools
           python-wheel))
           python-setuptools-next))
    (inputs
     (list password-store python-pyxdg))
    (home-page "https://github.com/languitar/pass-git-helper")