guix-commits
[Top][All Lists]
Advanced

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

03/13: gnu: Add ghc-non-negative.


From: guix-commits
Subject: 03/13: gnu: Add ghc-non-negative.
Date: Fri, 16 Aug 2019 08:22:59 -0400 (EDT)

rob pushed a commit to branch wip-haskell-updates
in repository guix.

commit 4e3da7e3adc50e447f1c8fc801da068a61b0da49
Author: John Soo <address@hidden>
Date:   Sun Jul 7 17:30:41 2019 -0700

    gnu: Add ghc-non-negative.
    
    * gnu/packages/haskell.scm (ghc-non-negative): New variable.
---
 gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 14e65d1..0bfe685 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6736,6 +6736,34 @@ making this package a full replacement for the original 
newtype package,
 and an alternative to newtype-th.")
     (license license:bsd-3)))
 
+(define-public ghc-non-negative
+  (package
+    (name "ghc-non-negative")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "https://hackage.haskell.org/package/non-negative/non-negative-";
+         version ".tar.gz"))
+       (sha256
+        (base32
+         "0f01q916dzkl1i0v15qrw9cviycki5g3fgi6x8gs45iwbzssq52n"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-semigroups" ,ghc-semigroups)
+       ("ghc-utility-ht" ,ghc-utility-ht)
+       ("ghc-quickcheck" ,ghc-quickcheck)))
+    (home-page "https://hackage.haskell.org/package/non-negative";)
+    (synopsis "Non-negative numbers")
+    (description
+     "Provides a class for non-negative numbers, a wrapper which can turn any
+ordered numeric type into a member of that class, and a lazy number type for
+non-negative numbers (a generalization of Peano numbers).  This library is used
+by the event-list package.")
+    (license license:gpl3+)))
+
 (define-public ghc-objectname
   (package
     (name "ghc-objectname")



reply via email to

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