guix-commits
[Top][All Lists]
Advanced

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

93/151: gnu: Add ghc-scientific.


From: Paul
Subject: 93/151: gnu: Add ghc-scientific.
Date: Mon, 19 Oct 2015 08:58:20 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit cb5e86c5b4e62289bcee6c98cd9e31fe05a8e1a8
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:23:32 2015 +0200

    gnu: Add ghc-scientific.
    
    * gnu/packages/haskell.scm (ghc-scientific): New variable.
---
 gnu/packages/haskell.scm |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 1bd84e4..d55991b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3187,4 +3187,42 @@ splitting on substrings and replacing all occurrences of 
a substring (the
 first in case of overlaps) with another.")
     (license bsd-3)))
 
+(define-public ghc-scientific
+  (package
+    (name "ghc-scientific")
+    (version "0.3.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/scientific/scientific-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0mimdkva0cgzaychr6whv9if29z0r5wwhkss9bmd4rz8kq1kgngn"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-hashable" ,ghc-hashable)
+       ("ghc-vector" ,ghc-vector)))
+    (inputs
+     `(("ghc-text" ,ghc-text)
+       ("ghc-tasty" ,ghc-tasty)
+       ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml)
+       ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+       ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck)
+       ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+       ("ghc-smallcheck" ,ghc-smallcheck)
+       ("ghc-quickcheck" ,ghc-quickcheck)))
+    (home-page
+     "https://github.com/basvandijk/scientific";)
+    (synopsis
+     "Numbers represented using scientific notation")
+    (description
+     "Data.Scientific provides the number type 'Scientific'.  Scientific
+numbers are arbitrary precision and space efficient.  They are represented
+using @uref{http://en.wikipedia.org/wiki/Scientific_notation, scientific
+notation}.")
+    (license bsd-3)))
+
 ;;; haskell.scm ends here



reply via email to

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