guix-devel
[Top][All Lists]
Advanced

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

[PATCH 065/105] gnu: Add ghc-smallcheck.


From: Paul van der Walt
Subject: [PATCH 065/105] gnu: Add ghc-smallcheck.
Date: Thu, 15 Oct 2015 17:28:48 +0200

* gnu/packages/haskell.scm (ghc-smallcheck): New variable.
---
 gnu/packages/haskell.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a041a35..84b1bff 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1394,6 +1394,34 @@ use them without linking against Cabal or depending on 
it being installed.
 This is a better maintained fork of the \"temporary\" package.")
     (license bsd-3)))
 
+(define-public ghc-smallcheck
+  (package
+    (name "ghc-smallcheck")
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/smallcheck/smallcheck-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1ygrabxh40bym3grnzqyfqn96lirnxspb8cmwkkr213239y605sd"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-logict" ,ghc-logict)))
+    (inputs
+     `(("ghc-mtl" ,ghc-mtl)))
+    (home-page
+     "https://github.com/feuerbach/smallcheck";)
+    (synopsis "A property-based testing library")
+    (description
+     "SmallCheck is a testing library that allows to verify properties for all
+test cases up to some depth.  The test cases are generated automatically by
+SmallCheck.")
+    (license bsd-3)))
+
 (define-public ghc-silently
   (package
     (name "ghc-silently")
-- 
2.6.1




reply via email to

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