guix-commits
[Top][All Lists]
Advanced

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

69/151: gnu: Add ghc-nats.


From: Paul
Subject: 69/151: gnu: Add ghc-nats.
Date: Mon, 19 Oct 2015 08:58:02 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit b3d15cf3fd2c222bb9282578f6f502ddbe1990d0
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 14:27:33 2015 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 4ea5c99..2f78665 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2479,6 +2479,31 @@ 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")



reply via email to

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