guix-commits
[Top][All Lists]
Advanced

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

42/53: gnu: Add ghc-double-conversion.


From: Ricardo Wurmus
Subject: 42/53: gnu: Add ghc-double-conversion.
Date: Thu, 16 Aug 2018 11:05:02 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit de866854aa94f10af75a5e90e0bbcbedfc0a69db
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Aug 15 12:10:05 2018 +0200

    gnu: Add ghc-double-conversion.
    
    * gnu/packages/haskell.scm (ghc-double-conversion): New variable.
---
 gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index dada57d..90734fe 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -481,6 +481,33 @@ pure @code{Either} value.  This means that you need not 
remember which specific
 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")



reply via email to

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