toothbrush pushed a commit to branch master
in repository guix.
commit 22db3ce71a85d8cfc697f5fdca3ec353ee80db52
Author: Paul van der Walt <[email protected]>
Date: Fri Oct 16 11:36:34 2015 +0200
gnu: Add ghc-half.
* gnu/packages/haskell.scm (ghc-half): New variable.
---
gnu/packages/haskell.scm | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index b8674e5..05031f2 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -825,6 +825,27 @@ HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to
prevent XSS
attacks.")
(license bsd-3)))
+(define-public ghc-half
+ (package
+ (name "ghc-half")
+ (version "0.2.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/half/half-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0zhwc6ps5w4ccnxl8sy623z4rjsafmnry69jpkw4hrbq11l402f1"))))
+ (build-system haskell-build-system)
+ (home-page "http://github.com/ekmett/half")
+ (synopsis "Half-precision floating-point computations")
+ (description "This library provides a half-precision floating-point
+computation library for Haskell.")
+ (license bsd-3)))
+
(define-public ghc-streaming-commons
(package
(name "ghc-streaming-commons")