From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 11/23] gnu: Add ghc-tasty-th. Date: Fri, 2 Sep 2016 09:39:58 +0000 Message-ID: <20160902094010.11483-11-ng0@we.make.ritual.n0.is> References: <20160902094010.11483-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfkxj-0001Fb-HQ for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfkxh-0008MP-D9 for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:38 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:43133 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfkxg-0008Ls-RG for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:37 -0400 In-Reply-To: <20160902094010.11483-1-ng0@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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 421d3a8..7208fb4 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6659,4 +6659,26 @@ is not good for Unicode users. This modified regex-compat uses regex-tdfa to solve 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.9.3