guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 06/21] gnu: Add ghc-newtype.


From: Paul van der Walt
Subject: [PATCH 06/21] gnu: Add ghc-newtype.
Date: Wed, 4 Nov 2015 21:00:54 +0100

* gnu/packages/haskell.scm (ghc-newtype): 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 f66baf0..90e0a16 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1252,6 +1252,29 @@ old @code{time} library.  For new projects, the newer
   package.")
     (license bsd-3)))
 
+(define-public ghc-newtype
+  (package
+    (name "ghc-newtype")
+    (version "0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/newtype/newtype-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0ng4i5r73256gzwl6bw57h0abqixj783c3ggph1hk2wsplx0655p"))))
+    (build-system haskell-build-system)
+    (home-page "http://hackage.haskell.org/package/newtype";)
+    (synopsis "Typeclass and functions for working with newtypes")
+    (description
+     "This library provides functions for packing and unpacking a
address@hidden, and allows one to operate under that newtype with functions
+such as @code{ala}.")
+    (license bsd-3)))
+
 (define-public ghc-dlist
   (package
     (name "ghc-dlist")
-- 
2.6.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]