From c165ff9ce0b4a2c2131132a60663363087532212 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 12 Feb 2018 20:45:11 +0100 Subject: [PATCH] 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. --- gnu/packages/haskell.scm | 20 ++++++++++++-------- 1 file 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.")