guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/15: gnu: xxhash: Update to 0.8.1.


From: guix-commits
Subject: 06/15: gnu: xxhash: Update to 0.8.1.
Date: Wed, 5 Jan 2022 23:23:49 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 7608d2d05dc8a0f8a1621c80219244e2dc3e9940
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Jan 6 01:50:48 2022 +0100

    gnu: xxhash: Update to 0.8.1.
    
    * gnu/packages/digest.scm (xxhash): Update to 0.8.1.
    [arguments]: Add a new 'fix-man-page-links phase.
---
 gnu/packages/digest.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/digest.scm b/gnu/packages/digest.scm
index 0af6720c03..309a94d3e8 100644
--- a/gnu/packages/digest.scm
+++ b/gnu/packages/digest.scm
@@ -66,7 +66,8 @@ Zig, V, and Nim programming language standard libraries.")
 (define-public xxhash
   (package
     (name "xxhash")
-    (version "0.8.0")
+    ;; XXX Remove the 'fix-man-page-links phase when updating.
+    (version "0.8.1")
     (source
      (origin
        (method git-fetch)
@@ -75,7 +76,7 @@ Zig, V, and Nim programming language standard libraries.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0hpbzdd6kfki5f61g103vp7pfczqkdj0js63avl0ss552jfb8h96"))))
+        (base32 "1h6080lvcr5mpbvy4fhb4i7wvhpy72nrixk3djmpai4hxq41hsnr"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags
@@ -89,6 +90,12 @@ Zig, V, and Nim programming language standard libraries.")
              (string-append "prefix=" (assoc-ref %outputs "out")))
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-man-page-links
+           ;; https://github.com/Cyan4973/xxHash/issues/647
+           (lambda _
+             (substitute* "Makefile"
+               (("ln -sf \\$\\(MAN\\)")
+                "ln -sf xxhsum.1"))))
          (delete 'configure))))         ; no configure script
     (home-page "https://cyan4973.github.io/xxHash/";)
     (synopsis "Extremely fast hash algorithm")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]