gnu: pigz: Update to 2.7.

* gnu/packages/compression.scm (pigz): Update to 2.7.
[arguments]: Run ‘make test’ rather than ‘tests’.  The latter tests
the NOTHREAD build that's never installed, and broken.
[native-inputs]: Add which.
This commit is contained in:
Tobias Geerinckx-Rice 2022-05-15 02:00:02 +02:00
parent d52d5ee4ec
commit b247d7a469
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -980,14 +980,14 @@ (define-public squashfs-tools-ng
(define-public pigz
(package
(name "pigz")
(version "2.6")
(version "2.7")
(source (origin
(method url-fetch)
(uri (string-append "http://zlib.net/pigz/"
name "-" version ".tar.gz"))
(sha256
(base32
"0z9avc4mifwcpj3qdsf9m2rjw9jx03b2r9pj0c4xgla9fh6ppv9f"))))
"01y7n7lafp6maqnp4jrmasawnv67najh1bd7gjrmv3d08h1ydjdl"))))
(build-system gnu-build-system)
(arguments
`(#:phases
@ -1004,7 +1004,8 @@ (define-public pigz
#t))))
#:make-flags
(list ,(string-append "CC=" (cc-for-target)))
#:test-target "tests"))
#:test-target "test"))
(native-inputs (list which))
(inputs (list zlib))
(home-page "https://zlib.net/pigz/")
(synopsis "Parallel implementation of gzip")