[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/15: gnu: Add ghc-decimal.
From: |
guix-commits |
Subject: |
03/15: gnu: Add ghc-decimal. |
Date: |
Sun, 1 Nov 2020 08:36:10 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 9b3b327a4a29079b39ced0abb952874abbf921a0
Author: Carlo Holl <carloholl@gmail.com>
AuthorDate: Sat Oct 31 19:02:24 2020 -0700
gnu: Add ghc-decimal.
* gnu/packages/haskell-xyz.scm (ghc-decimal): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
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 bed5715..7ec38e3 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")
- branch master updated (9e775fa -> e6bfb02), guix-commits, 2020/11/01
- 02/15: gnu: Add ghc-csv., guix-commits, 2020/11/01
- 01/15: gnu: Add ghc-control-monad-free., guix-commits, 2020/11/01
- 07/15: gnu: Add ghc-only., guix-commits, 2020/11/01
- 06/15: gnu: Add ghc-lucid., guix-commits, 2020/11/01
- 13/15: gnu: Add ghc-cassava-megaparsec., guix-commits, 2020/11/01
- 11/15: gnu: Add ghc-wizards., guix-commits, 2020/11/01
- 03/15: gnu: Add ghc-decimal.,
guix-commits <=
- 05/15: gnu: Add ghc-hspec-megaparsec., guix-commits, 2020/11/01
- 04/15: gnu: ghc-doctest: Update to 0.16.3., guix-commits, 2020/11/01
- 09/15: gnu: Add ghc-tabular., guix-commits, 2020/11/01
- 14/15: gnu: Add ghc-hledger-lib., guix-commits, 2020/11/01
- 08/15: gnu: Add ghc-text-short., guix-commits, 2020/11/01
- 12/15: gnu: Add ghc-cassava., guix-commits, 2020/11/01
- 10/15: gnu: Add ghc-uglymemo., guix-commits, 2020/11/01
- 15/15: gnu: Add hledger., guix-commits, 2020/11/01