unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 08/24] gnu: Add ghc-hunit
@ 2015-04-06 16:43 Federico Beffa
  2015-04-08  8:06 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Federico Beffa @ 2015-04-06 16:43 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 5 bytes --]

Fede

[-- Attachment #2: 0008-gnu-Add-ghc-hunit.patch --]
[-- Type: text/x-diff, Size: 1411 bytes --]

From 74c1d7a6e9827876238a6724b81cf449dd213bc3 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Fri, 27 Mar 2015 16:08:00 +0100
Subject: [PATCH 08/24] gnu: Add ghc-hunit

* gnu/packages/haskell.scm (ghc-hunit): New variable.
---
 gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 592a820..0df0839 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, see: <http://www.junit.org>.")
+    (license bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.2.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 08/24] gnu: Add ghc-hunit
  2015-04-06 16:43 [PATCH 08/24] gnu: Add ghc-hunit Federico Beffa
@ 2015-04-08  8:06 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-04-08  8:06 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel

Federico Beffa <beffa@ieee.org> skribis:

> From 74c1d7a6e9827876238a6724b81cf449dd213bc3 Mon Sep 17 00:00:00 2001
> From: Federico Beffa <beffa@fbengineering.ch>
> Date: Fri, 27 Mar 2015 16:08:00 +0100
> Subject: [PATCH 08/24] gnu: Add ghc-hunit
>
> * gnu/packages/haskell.scm (ghc-hunit): New variable.

OK.

> +     "HUnit is a unit testing framework for Haskell, inspired by the
> +JUnit tool for Java, see: <http://www.junit.org>.")

I think you can omit the URL here.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-08  8:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-06 16:43 [PATCH 08/24] gnu: Add ghc-hunit Federico Beffa
2015-04-08  8:06 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).