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

2016-09-20 Thread Leo Famulari
On Sun, Sep 18, 2016 at 04:09:50PM +, ng0 wrote:
> * gnu/packages/haskell.scm (ghc-tasty-th): New variable.
>From 9a0bf28ed9ba1189c455273613bfe98c6e6f0be1 Mon Sep 17 00:00:00 2001
From: Leo Famulari 
Date: Tue, 20 Sep 2016 20:48:25 -0400
Subject: [PATCH 3/8] ghc-tasty-th synopsis description fix

---
 gnu/packages/haskell.scm | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index eb103d1..cc320c1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6661,9 +6661,12 @@ this problem.")
 (inputs
  `(("ghc-tasty" ,ghc-tasty)))
 (home-page "http://github.com/bennofs/tasty-th";)
-(synopsis "Automatic tasty test case discovery using TH")
+(synopsis "Automatically generate tasty TestTrees")
 (description
- "Generate tasty TestTrees automatically with TemplateHaskell.")
+  "Tasty-th automatically generates tasty TestTrees from functions of the
+current module, using TemplateHaskell.  This is a fork the original
+test-framework-th package, modified to work with tasty instead of
+test-framework.")
 (license license:bsd-3)))
 
 (define-public ghc-sandi
-- 
2.10.0



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

2016-09-18 Thread ng0
* gnu/packages/haskell.scm (ghc-tasty-th): New variable.
---
 gnu/packages/haskell.scm | 22 ++
 1 file changed, 22 insertions(+)

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
-- 
2.10.0