gnu: Add ghc-special-values.
authorJohn Soo <jsoo1@asu.edu>
Sat, 11 Apr 2020 04:11:00 +0000 (21:11 -0700)
committerLeo Famulari <leo@famulari.name>
Fri, 29 May 2020 14:44:31 +0000 (10:44 -0400)
* gnu/packages/haskell-xyz.scm (ghc-special-values): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
gnu/packages/haskell-xyz.scm

index b483b71..7f152e7 100644 (file)
@@ -11145,6 +11145,32 @@ core of @url{https://hackage.haskell.org/package/generics-sop,
 generics-sop}.")
     (license license:bsd-3)))
 
+(define-public ghc-special-values
+  (package
+    (name "ghc-special-values")
+    (version "0.1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/special-values/"
+             "special-values-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1kkdw2c4d2hha99v9f89ahmifjxp7fxmxyfwq9a8xk6s0h9xs51w"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-scientific" ,ghc-scientific)
+       ("ghc-ieee754" ,ghc-ieee754)
+       ("ghc-nats" ,ghc-nats)))
+    (home-page
+     "https://github.com/minad/special-values#readme")
+    (synopsis "Typeclass providing special values")
+    (description
+     "Special values are provided by a SpecialValues typeclass.  Those can be
+used for example by QuickCheck, see quickcheck-special."  )
+    (license license:expat)))
+
 (define-public ghc-split
   (package
     (name "ghc-split")