gnu: ghc-zlib: Enable tests.

* gnu/packages/haskell.scm (ghc-zlib)[arguments]: Enable tests. Allow building
with newer tasty.
[native-inputs]: Add ghc-quickcheck, ghc-tasty, ghc-tasty-hunit and
ghc-tasty-quickcheck.
This commit is contained in:
Arun Isaac 2018-09-04 17:26:14 +05:30
parent 6300ba5b66
commit 906a396bff
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 6 additions and 2 deletions

View File

@ -2078,9 +2078,13 @@ literals.")
(base32
"1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
(build-system haskell-build-system)
;; Tests require older versions of testy.
(arguments `(#:tests? #f))
(arguments `(#:configure-flags (list "--allow-newer=tasty")))
(inputs `(("zlib" ,zlib)))
(native-inputs
`(("ghc-quickcheck" ,ghc-quickcheck)
("ghc-tasty" ,ghc-tasty)
("ghc-tasty-hunit" ,ghc-tasty-hunit)
("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
(home-page "https://hackage.haskell.org/package/zlib")
(synopsis
"Compression and decompression in the gzip and zlib formats")