~ruther/guix-local

156f23bb1a75d7b39ca249b742faebeb727eab60 — Ignacio Marmolejo 5 months ago dd643d7
gnu: Add pass-update.

* gnu/packages/password-utils.scm (pass-update): New variable.

Change-Id: I2162701d93f4b10c720a9b17b8b1670159cbe5c2
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
1 files changed, 41 insertions(+), 0 deletions(-)

M gnu/packages/password-utils.scm
M gnu/packages/password-utils.scm => gnu/packages/password-utils.scm +41 -0
@@ 1061,6 1061,47 @@ one-time-password (OTP) secrets, generating OTP codes, and displaying secret
key URIs using the standard otpauth:// scheme.")
    (license license:gpl3+)))

(define-public pass-update
  (package
    (name "pass-update")
    (version "2.2.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/roddhjav/pass-update")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1srg0zpgfj2rcsc8aynq7jy2wd9l2h21rpp73si6rwiccff4ymrl"))))
    (build-system gnu-build-system)
    (arguments
     (list
      #:test-target "tests"
      #:make-flags
      #~(list (string-append "PREFIX="
                             #$output)
              (string-append "BASHCOMPDIR="
                             #$output "/share/bash-completion/completions"))
      #:phases
      #~(modify-phases %standard-phases
          (delete 'build)
          (add-before 'check 'setenv
            (lambda _
              ;; Tests need the env var TMP
              (mkdir "/tmp/pw")
              (setenv "TMP" "/tmp/pw")))
          (delete 'configure))))
    (native-inputs (list password-store gnupg git))
    (home-page "https://github.com/roddhjav/pass-update")
    (synopsis "Extension to @code{password-store} for updating passwords")
    (description
     "@code{pass-update} extends the pass utility with an update command
providing an easy flow for updating passwords.  It supports path, directory
and wildcard update.  Moreover, you can select how to update your passwords by
automatically generating new passwords or manually setting your own.")
    (license license:gpl3)))

(define-public qtpass
  (package
    (name "qtpass")