summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-06-28 22:36:27 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-06-30 03:46:18 +0200
commit1bf1bda93c969c71612ab5b86fe93d0e3d63d534 (patch)
treeb65330bb3e08085c6c9309d77b287cc76b357de8 /gnu
parent232568581b1a13619c3adb0e3362da0f38c7a1f1 (diff)
downloadguix-1bf1bda93c969c71612ab5b86fe93d0e3d63d534.tar.gz
gnu: xxhash: Don't use unstable tarball.
* gnu/packages/digest.scm (xxhash)[source]: Use GIT-FETCH.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/digest.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/digest.scm b/gnu/packages/digest.scm
index 5f14ab913b..dccba2a07c 100644
--- a/gnu/packages/digest.scm
+++ b/gnu/packages/digest.scm
@@ -19,7 +19,7 @@
 (define-module (gnu packages digest)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
-  #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system gnu))
 
 (define-public xxhash
@@ -28,12 +28,12 @@
     (version "0.6.4")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/Cyan4973/xxHash/archive/v"
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Cyan4973/xxHash")
+             (commit (string-append "v" version))))
        (sha256
-        (base32 "08nv9h3jzg6y85ysy2dj3qvvfsdz0rwkk497a2366syz278wqw25"))))
+        (base32 "1az5vm14rdc3pa3l0wj180wpii14if16diril3gz8q9ip1215gwj"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags