From de866854aa94f10af75a5e90e0bbcbedfc0a69db Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 15 Aug 2018 12:10:05 +0200 Subject: gnu: Add ghc-double-conversion. * gnu/packages/haskell.scm (ghc-double-conversion): New variable. --- gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/haskell.scm') diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index dada57ddb9..90734febf0 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -481,6 +481,33 @@ (define-public ghc-convertible function performs the conversion you desire.") (license license:bsd-3))) +(define-public ghc-double-conversion + (package + (name "ghc-double-conversion") + (version "2.0.2.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "double-conversion/double-conversion-" + version ".tar.gz")) + (sha256 + (base32 + "0sx2kc1gw72mjvd8vph8bbjw5whfxfv92rsdhjg1c0al75rf3ka4")))) + (build-system haskell-build-system) + (inputs `(("ghc-text" ,ghc-text))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2))) + (home-page "https://github.com/bos/double-conversion") + (synopsis "Fast conversion between double precision floating point and text") + (description + "This package provides a library that performs fast, accurate conversion +between double precision floating point and text.") + (license license:bsd-3))) + (define-public ghc-libxml (package (name "ghc-libxml") -- cgit v1.2.3