From 1bf1bda93c969c71612ab5b86fe93d0e3d63d534 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 28 Jun 2018 22:36:27 +0200 Subject: [PATCH] gnu: xxhash: Don't use unstable tarball. * gnu/packages/digest.scm (xxhash)[source]: Use GIT-FETCH. --- gnu/packages/digest.scm | 12 ++++++------ 1 file 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 @@ (define-public xxhash (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