gnu: ghc-hashable: Update to 1.2.6.1.

* gnu/packages/haskell.scm (ghc-hashable): Update to 1.2.6.1.
[arguments]: Enable tests.
[inputs]: Add ghc-random.
[native-inputs]: Add ghc-test-framework, ghc-test-framework-hunit,
ghc-test-framework-quickcheck2, ghc-hunit, and ghc-quickcheck.
[description]: Use Texinfo syntax for class name.
This commit is contained in:
Ricardo Wurmus 2018-02-12 20:45:11 +01:00
parent 04a699919a
commit c165ff9ce0
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 12 additions and 8 deletions

View File

@ -1781,7 +1781,7 @@ IO operations.")
(define-public ghc-hashable
(package
(name "ghc-hashable")
(version "1.2.3.3")
(version "1.2.6.1")
(outputs '("out" "doc"))
(source
(origin
@ -1792,17 +1792,21 @@ IO operations.")
".tar.gz"))
(sha256
(base32
"0kp4aj0x1iicz9qirpqxxqd8x5g1njbapxk1d90n406w3xykz4pw"))))
"0ymv2mcrrgbdc2w39rib171fwnhg7fgp0sy4h8amrh1vw64qgjll"))))
(build-system haskell-build-system)
(arguments
`(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
(inputs
`(("ghc-text" ,ghc-text)))
`(("ghc-text" ,ghc-text)
("ghc-random" ,ghc-random)))
(native-inputs
`(("ghc-test-framework" ,ghc-test-framework)
("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
("ghc-hunit" ,ghc-hunit)
("ghc-quickcheck" ,ghc-quickcheck)))
(home-page "https://github.com/tibbe/hashable")
(synopsis
"Class for types that can be converted to a hash value")
(synopsis "Class for types that can be converted to a hash value")
(description
"This package defines a class, 'Hashable', for types that can be
"This package defines a class, @code{Hashable}, for types that can be
converted to a hash value. This class exists for the benefit of hashing-based
data structures. The package provides instances for basic types and a way to
combine hash values.")