[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/39: gnu: Add ghc-test-framework-th.
From: |
Ludovic Courtès |
Subject: |
08/39: gnu: Add ghc-test-framework-th. |
Date: |
Sun, 22 Oct 2017 18:32:40 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e0195ea87576bd578d4847fc94d0d2605295e6dc
Author: rsiddharth <address@hidden>
Date: Wed Oct 18 03:07:28 2017 +0000
gnu: Add ghc-test-framework-th.
* gnu/packages/haskell.scm (ghc-test-framework-th): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/haskell.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d3ac021..2efd785 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9200,4 +9200,38 @@ beginning with @code{test} (for a test framework) or all
functions beginning
with @code{wc} (for a web service).")
(license license:bsd-3)))
+(define-public ghc-test-framework-th
+ (package
+ (name "ghc-test-framework-th")
+ (version "0.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "test-framework-th-" version "/"
+ "test-framework-th-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12lw7yj02jb9s0i7rb98jjam43j2h0gzmnbj9zi933fx7sg0sy4b"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-language-haskell-extract" ,ghc-language-haskell-extract)
+ ("ghc-haskell-src-exts" ,ghc-haskell-src-exts)
+ ("ghc-regex-posix" ,ghc-regex-posix)))
+ (home-page "https://github.com/finnsson/test-generator")
+ (synopsis "Auto generate the HUnit- and Quickcheck-bulk-code
+using Template Haskell")
+ (description "This library contains two functions:
address@hidden and @code{testGroupGenerator}.
+
address@hidden will extract all functions beginning with
address@hidden, @code{prop_}, or @code{test_} in the module and put them in a
address@hidden
+
address@hidden is like @code{defaultMainGenerator} but without
address@hidden It is useful if you need a function for the testgroup
+\(e.g. if you want to be able to call the testgroup from another module).")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
- 01/39: gnu: Add ghc-errors., (continued)
- 01/39: gnu: Add ghc-errors., Ludovic Courtès, 2017/10/22
- 02/39: gnu: Add ghc-vector-th-unbox., Ludovic Courtès, 2017/10/22
- 04/39: gnu: Add ghc-math-functions., Ludovic Courtès, 2017/10/22
- 05/39: gnu: Add ghc-mwc-random., Ludovic Courtès, 2017/10/22
- 09/39: gnu: Add ghc-abstract-par., Ludovic Courtès, 2017/10/22
- 07/39: gnu: Add ghc-language-haskell-extract., Ludovic Courtès, 2017/10/22
- 11/39: gnu: Add ghc-abstract-deque., Ludovic Courtès, 2017/10/22
- 06/39: gnu: Add ghc-vector-algorithms., Ludovic Courtès, 2017/10/22
- 13/39: gnu: ghc-base-orphans: Update to 0.6., Ludovic Courtès, 2017/10/22
- 10/39: gnu: Add ghc-monad-par-extras., Ludovic Courtès, 2017/10/22
- 08/39: gnu: Add ghc-test-framework-th.,
Ludovic Courtès <=
- 18/39: gnu: Add ghc-contravariant-extras., Ludovic Courtès, 2017/10/22
- 03/39: gnu: Add ghc-erf., Ludovic Courtès, 2017/10/22
- 21/39: gnu: Add ghc-entropy., Ludovic Courtès, 2017/10/22
- 12/39: gnu: Add ghc-monad-par., Ludovic Courtès, 2017/10/22
- 20/39: gnu: Add ghc-either., Ludovic Courtès, 2017/10/22
- 25/39: gnu: Add ghc-puremd5, Ludovic Courtès, 2017/10/22
- 14/39: gnu: Add ghc-statistics., Ludovic Courtès, 2017/10/22
- 22/39: gnu: Add ghc-crypto-api., Ludovic Courtès, 2017/10/22
- 35/39: gnu: ghc-conduit: Update to 1.2.12.1., Ludovic Courtès, 2017/10/22
- 26/39: gnu: Add ghc-cryptohash-md5., Ludovic Courtès, 2017/10/22