guix-devel
[Top][All Lists]
Advanced

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

[PATCH 044/105] gnu: ghc-nats: New variable.


From: Paul van der Walt
Subject: [PATCH 044/105] gnu: ghc-nats: New variable.
Date: Thu, 15 Oct 2015 17:28:26 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 49af827..8c4d24e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2486,6 +2486,31 @@ the bounded Int type for specifying the delay or timeout 
period. This
 packages provides alternatives which use the unbounded Integer type.")
     (license bsd-3)))
 
+(define-public ghc-nats
+  (package
+    (name "ghc-nats")
+    (version "1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/nats/nats-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0r6s8l4s0yq3x2crrkv0b8zac13magfasr9v8hnq6rn1icsfhic0"))))
+    (build-system haskell-build-system)
+    (arguments `(#:haddock? #f))
+    (inputs
+     `(("ghc-hashable" ,ghc-hashable)))
+    (home-page
+     "https://hackage.haskell.org/package/nats";)
+    (synopsis "Natural numbers")
+    (description
+     "Natural numbers for Haskell.")
+    (license bsd-3)))
+
 (define-public ghc-doctest
   (package
     (name "ghc-doctest")
-- 
2.6.1




reply via email to

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