[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: gnu: Add ghc-test-framework-quickcheck2.
From: |
Eric Bavier |
Subject: |
07/10: gnu: Add ghc-test-framework-quickcheck2. |
Date: |
Thu, 19 Nov 2015 14:08:40 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit ab715ec9ae8b9762662a6efbab35a2733952c9e6
Author: Eric Bavier <address@hidden>
Date: Wed Nov 18 18:42:02 2015 -0600
gnu: Add ghc-test-framework-quickcheck2.
* gnu/packages/haskell.scm (ghc-test-framework-quickcheck2): New
variable.
---
gnu/packages/haskell.scm | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 1ef74fb..2cb25de 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1779,6 +1779,39 @@ reporting and test statistics output.")
"This package provides HUnit support for the test-framework package.")
(license bsd-3)))
+(define-public ghc-test-framework-quickcheck2
+ (package
+ (name "ghc-test-framework-quickcheck2")
+ (version "0.3.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://hackage.haskell.org/package/"
+ "test-framework-quickcheck2/"
+ "test-framework-quickcheck2-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12p1zwrsz35r3j5gzbvixz9z1h5643rhihf5gqznmc991krwd5nc"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; The Hackage page and the cabal file linked there for this package
+ ;; both list 2.9 as the upper version limit, but the source tarball
+ ;; specifies 2.8. Assume the Hackage page is correct.
+ '(substitute* "test-framework-quickcheck2.cabal"
+ (("QuickCheck >= 2.4 && < 2.8") "QuickCheck >= 2.4 && < 2.9")))))
+ (build-system haskell-build-system)
+ (propagated-inputs
+ `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-random" ,ghc-random)
+ ("ghc-test-framework" ,ghc-test-framework)))
+ (home-page "https://batterseapower.github.io/test-framework/")
+ (synopsis "QuickCheck2 support for test-framework")
+ (description
+ "This packages provides QuickCheck2 support for the test-framework
+package.")
+ (license bsd-3)))
+
(define-public ghc-tf-random
(package
(name "ghc-tf-random")
- branch master updated (d2a5210 -> c3c61a7), Eric Bavier, 2015/11/19
- 02/10: gnu: Add ghc-libxml., Eric Bavier, 2015/11/19
- 01/10: gnu: Add ghc-hostname., Eric Bavier, 2015/11/19
- 03/10: gnu: Add ghc-test-framework., Eric Bavier, 2015/11/19
- 05/10: gnu: ghc-regex-posix: Propagate inputs., Eric Bavier, 2015/11/19
- 06/10: gnu: ghc-async: Enable tests., Eric Bavier, 2015/11/19
- 08/10: gnu: ghc-attoparsec: Enable tests., Eric Bavier, 2015/11/19
- 07/10: gnu: Add ghc-test-framework-quickcheck2.,
Eric Bavier <=
- 04/10: gnu: Add ghc-test-framework-hunit., Eric Bavier, 2015/11/19
- 09/10: gnu: Add ghc-chasingbottoms., Eric Bavier, 2015/11/19
- 10/10: gnu: ghc-unordered-containers: Enable tests., Eric Bavier, 2015/11/19