Patchwork [10/42] gnu: Add ghc-tasty-th.

login
register
mail settings
Submitter non such
Date Sept. 18, 2016, 4:09 p.m.
Message ID <20160918161022.26135-10-ng0@we.make.ritual.n0.is>
Download mbox | patch
Permalink /patch/15734/
State New
Headers show

Comments

non such - Sept. 18, 2016, 4:09 p.m.
* gnu/packages/haskell.scm (ghc-tasty-th): New variable.
---
 gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d493506..0889804 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6639,4 +6639,26 @@  This is not good for Unicode users.  This modified regex-compat uses regex-tdfa
 this problem.")
     (license license:bsd-3)))
 
+(define-public ghc-tasty-th
+  (package
+    (name "ghc-tasty-th")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/tasty-th/tasty-th-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "0dff9si8i1qp0s7p4hlk0l29vq7wxfglw6mvlgmld43h7rllv88q"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-tasty" ,ghc-tasty)))
+    (home-page "http://github.com/bennofs/tasty-th")
+    (synopsis "Automatic tasty test case discovery using TH")
+    (description
+     "Generate tasty TestTrees automatically with TemplateHaskell.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here