From c3b90c0edb0f04b504adeb96f7dbd35ab8170965 Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Fri, 27 Mar 2015 16:08:00 +0100 Subject: gnu: Add ghc-hunit * gnu/packages/haskell.scm (ghc-hunit): New variable. --- gnu/packages/haskell.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 4ee8fd9357..cb11a07060 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -412,4 +412,27 @@ data structures. The package provides instances for basic types and a way to combine hash values.") (license bsd-3))) +(define-public ghc-hunit + (package + (name "ghc-hunit") + (version "1.2.5.2") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/HUnit/HUnit-" + version + ".tar.gz")) + (sha256 + (base32 + "0hcs6qh8bqhip1kkjjnw7ccgcsmawdz5yvffjj5y8zd2vcsavx8a")))) + (build-system haskell-build-system) + (home-page "http://hunit.sourceforge.net/") + (synopsis "Unit testing framework for Haskell") + (description + "HUnit is a unit testing framework for Haskell, inspired by the +JUnit tool for Java.") + (license bsd-3))) + ;;; haskell.scm ends here -- cgit v1.2.3