From d0a52e65b53d05790b307a2b99172fa38dcd7619 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 7 Jul 2019 17:26:38 +0200 Subject: [PATCH] gnu: zziplib: Don't use unstable tarball. * gnu/packages/compression.scm (zziplib)[source]: Change to GIT-FETCH. [argumnents]: New field. --- gnu/packages/compression.scm | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index ddc43176d9..1ca88fe78c 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -1573,14 +1573,22 @@ recreates the stored directory structure by default.") (name "zziplib") (version "0.13.69") (home-page "https://github.com/gdraheim/zziplib") - (source - (origin - (method url-fetch) - (uri (string-append home-page "/archive/v" version ".tar.gz")) - (sha256 - (base32 - "0i052a7shww0fzsxrdp3rd7g4mbzx7324a8ysbc0br7frpblcql4")))) + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fbk9k7ryas2wh2ykwkvm1pbi40i88rfvc3dydh9xyd7w2jcki92")))) (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'check 'make-files-writable + (lambda _ + (for-each make-file-writable + (find-files "test" #:directories? #t)) + #t))))) (inputs `(("zlib" ,zlib))) (native-inputs `(("perl" ,perl) ; for the documentation