[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44174] [PATCH v2 03/15] gnu: Add ghc-decimal.
From: |
Carlo Holl |
Subject: |
[bug#44174] [PATCH v2 03/15] gnu: Add ghc-decimal. |
Date: |
Sat, 31 Oct 2020 19:02:24 -0700 |
* gnu/packages/haskell-xyz.scm (ghc-decimal): New variable.
---
gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 46019d74c2..6eea034931 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -2987,6 +2987,35 @@ 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
- [bug#44174] [PATCH 12/16] gnu: Add ghc-cassava., (continued)
- [bug#44174] [PATCH 00/16] Add hledger and its dependencies., Christopher Baines, 2020/10/24
- [bug#44174] [PATCH v2 00/15] Add hledger and its dependencies., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 01/15] gnu: Add ghc-control-monad-free., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 02/15] gnu: Add ghc-csv., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 03/15] gnu: Add ghc-decimal.,
Carlo Holl <=
- [bug#44174] [PATCH v2 04/15] gnu: ghc-doctest: Update to 0.16.3., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 05/15] gnu: Add ghc-hspec-megaparsec., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 07/15] gnu: Add ghc-only., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 08/15] gnu: Add ghc-text-short., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 06/15] gnu: Add ghc-lucid., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 10/15] gnu: Add ghc-uglymemo., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 09/15] gnu: Add ghc-tabular., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 11/15] gnu: Add ghc-wizards., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 12/15] gnu: Add ghc-cassava., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 13/15] gnu: Add ghc-cassava-megaparsec., Carlo Holl, 2020/10/31