~ruther/guix-local

b46e2f8012ae7befb4a38e876fc31a0999019b4e — Cayetano Santos 1 year, 3 days ago 09950f1
gnu: pass-tomb: Use G-expressions.

* gnu/packages/password-utils.scm (pass-tomb): Use G-expressions.

Change-Id: Ic0eae41184d0beffe08caa47c3cafdcb58fa7480
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 18 insertions(+), 17 deletions(-)

M gnu/packages/password-utils.scm
M gnu/packages/password-utils.scm => gnu/packages/password-utils.scm +18 -17
@@ 1928,23 1928,24 @@ encryption algorithm if so desired.")
          (base32 "0cwik9v5pspyi0kgq6d2kaqy6gj3dgfn97nbjcbkbrbbc7syyd3v"))))
      (build-system gnu-build-system)
      (arguments
       `(#:make-flags
         (let ((out (assoc-ref %outputs "out")))
           (list (string-append "PREFIX=" out)
                 (string-append "BASHCOMPDIR=" out "/etc/bash_completion.d")))
         #:test-target "tests"
         ;; tests are very dependent on system state (swap partition) and require
         ;; access to /tmp/zsh which is not in the build container.
         #:tests? #f
         #:phases
         (modify-phases %standard-phases
           (add-after 'unpack 'set-tomb-path
             (lambda* (#:key inputs #:allow-other-keys)
               (let ((tomb (assoc-ref inputs "tomb")))
                 (substitute* "tomb.bash"
                   ((":-tomb")
                    (string-append ":-" tomb "/bin/tomb"))))))
           (delete 'configure))))
       (list
        #:make-flags
        #~(list (string-append "PREFIX=" #$output)
                (string-append "BASHCOMPDIR=" #$output
                               "/etc/bash_completion.d"))
        #:test-target "tests"
        ;; tests are very dependent on system state (swap partition) and require
        ;; access to /tmp/zsh which is not in the build container.
        #:tests? #f
        #:phases
        #~(modify-phases %standard-phases
            (add-after 'unpack 'set-tomb-path
              (lambda* (#:key inputs #:allow-other-keys)
                (let ((tomb (assoc-ref inputs "tomb")))
                  (substitute* "tomb.bash"
                    ((":-tomb")
                     (string-append ":-" tomb "/bin/tomb"))))))
            (delete 'configure))))
      (inputs
       (list tomb))
      (home-page "https://github.com/roddhjav/pass-tomb")