guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

26/177: gnu: ghc-hashable: Update to 1.2.6.1.


From: Ricardo Wurmus
Subject: 26/177: gnu: ghc-hashable: Update to 1.2.6.1.
Date: Tue, 13 Feb 2018 07:38:05 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit c165ff9ce0b4a2c2131132a60663363087532212
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Feb 12 20:45:11 2018 +0100

    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 20d0f36..0825c55 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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]