GNU bug report logs - #44174
[PATCH 00/16] Add hledger and its dependencies.

Previous Next

Package: guix-patches;

Reported by: Carlo Holl <carloholl <at> gmail.com>

Date: Fri, 23 Oct 2020 12:08:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Carlo Holl <carloholl <at> gmail.com>
To: 44174 <at> debbugs.gnu.org
Cc: Carlo Holl <carloholl <at> gmail.com>
Subject: [bug#44174] [PATCH 03/16] gnu: Add ghc-decimal.
Date: Fri, 23 Oct 2020 10:05:31 -0700
---
 gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 952e24cd55..803ee995c0 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -2989,6 +2989,37 @@ to add D-Bus support to Haskell applications, without the awkward
 interfaces common to foreign bindings.")
     (license license:asl2.0)))
 
+(define-public ghc-decimal
+  (package
+    (name "ghc-decimal")
+    (version "0.5.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://hackage.haskell.org/package/Decimal/Decimal-"
+               version
+               ".tar.gz"))
+        (sha256
+          (base32
+            "0k7kh05mr2f54w1lpgq1nln0h8k6s6h99dyp5jzsb9cfbb3aap2p"))))
+    (build-system haskell-build-system)
+    (native-inputs
+      `(("ghc-hunit" ,ghc-hunit)
+        ("ghc-quickcheck" ,ghc-quickcheck)
+        ("ghc-test-framework" ,ghc-test-framework)
+        ("ghc-test-framework-quickcheck2"
+         ,ghc-test-framework-quickcheck2)
+        ("ghc-test-framework-hunit"
+         ,ghc-test-framework-hunit)))
+    (home-page
+      "https://github.com/PaulJohnson/Haskell-Decimal")
+    (synopsis
+      "Decimal numbers with variable precision")
+    (description "A decimal number has an integer mantissa and a negative exponent.
+The exponent can be interpreted as the number of decimal places in the value.")
+    (license license:bsd-3)))
+
 (define-public ghc-deepseq-generics
   (package
     (name "ghc-deepseq-generics")
-- 
2.28.0





This bug report was last modified 4 years and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.