gnu: zziplib: Don't use unstable tarball.

* gnu/packages/compression.scm (zziplib)[source]: Change to GIT-FETCH.
[argumnents]: New field.
This commit is contained in:
Marius Bakke 2019-07-07 17:26:38 +02:00
parent ee3a4d3678
commit d0a52e65b5
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1573,14 +1573,22 @@ (define-public zziplib
(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