diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-02-12 20:45:11 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-02-13 13:37:33 +0100 |
commit | c165ff9ce0b4a2c2131132a60663363087532212 (patch) | |
tree | 0fa9ef49f9a8d5e9f6738e5db529f86d208fc8b8 | |
parent | 04a699919a783aeed8081ac319bbd56667cf9b86 (diff) | |
download | patches-c165ff9ce0b4a2c2131132a60663363087532212.tar patches-c165ff9ce0b4a2c2131132a60663363087532212.tar.gz |
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.
-rw-r--r-- | gnu/packages/haskell.scm | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 20d0f36056..0825c55941 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -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.") |