~ruther/guix-local

1d6ec30232bde96ec84886585d81e44d64679fcb — Cayetano Santos 5 months ago 34374c9
gnu: xkcdpass: Improve style.

* gnu/packages/password-utils.scm (xkcdpass)[arguments]: Use
G-Expressions.

Change-Id: I787c432218f7addd6d33a0fd025b1acdcac38f61
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
1 files changed, 18 insertions(+), 16 deletions(-)

M gnu/packages/password-utils.scm
M gnu/packages/password-utils.scm => gnu/packages/password-utils.scm +18 -16
@@ 2006,24 2006,26 @@ data inside a GPG encrypted file, which we'll call a coffin.")
    (name "xkcdpass")
    (version "1.19.4")
    (home-page "https://github.com/redacted/XKCD-password-generator")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url home-page)
                    (commit (string-append "xkcdpass-" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1din4fqxgcj74vcjrsmn19sv81raards39x8pd75hmfxqqgggnd6"))))
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url home-page)
              (commit (string-append "xkcdpass-" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "1din4fqxgcj74vcjrsmn19sv81raards39x8pd75hmfxqqgggnd6"))))
    (build-system python-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-after 'install 'install-manpage
           (lambda* (#:key outputs #:allow-other-keys)
             (install-file
              "xkcdpass.1"
              (string-append (assoc-ref outputs "out") "/share/man/man1")))))))
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'install 'install-manpage
            (lambda _
              (install-file
               "xkcdpass.1"
               (string-append #$output "/share/man/man1")))))))
    (synopsis
     "Generate secure multiword passwords/passphrases, inspired by XKCD")
    (description