summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-01-08 17:01:40 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-01-08 21:56:04 +0100
commit23c883ef832d45387bb2a11451411a76be0c034f (patch)
tree5fe7347606468ab78d672fffa916268af16f40a5
parente468843db38017849ea026f865827cc127dfaad7 (diff)
downloadguix-23c883ef832d45387bb2a11451411a76be0c034f.tar.gz
gnu: RHash: Update to 1.3.9.
* gnu/packages/crypto.scm (rhash): Update to 1.3.9.
[arguments]: Add phase 'patch-/bin/sh'.
-rw-r--r--gnu/packages/crypto.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index b63e322a9f..91fbe6a8e4 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -699,7 +699,7 @@ BLAKE.")
 (define-public rhash
   (package
     (name "rhash")
-    (version "1.3.8")
+    (version "1.3.9")
     (source
      (origin
        (method git-fetch)
@@ -709,7 +709,7 @@ BLAKE.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0i00wl63hn80g0s9gdi772gchbghwgkvn4nbb5227y2wwy30yyi2"))))
+         "06i49x1l21h2q7pfnf4crbmjyg8b9ad0qs10ywyyn5sjpi0c21wq"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags
@@ -724,6 +724,11 @@ BLAKE.")
            (lambda* (#:key outputs #:allow-other-keys)
              (invoke "./configure"
                      (string-append "--prefix=" (assoc-ref outputs "out")))))
+         (add-before 'check 'patch-/bin/sh
+           (lambda _
+             (substitute* "Makefile"
+               (("/bin/sh") (which "sh")))
+             #t))
          (add-after 'install 'install-library-extras
            (lambda* (#:key make-flags #:allow-other-keys)
              (apply invoke