[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/12: gnu: Add ghc-storablevector.
From: |
guix-commits |
Subject: |
04/12: gnu: Add ghc-storablevector. |
Date: |
Mon, 2 Sep 2019 23:11:43 -0400 (EDT) |
samplet pushed a commit to branch master
in repository guix.
commit bc06ca458865cdf7a3b971ac34ae2f92f75c6964
Author: John Soo <address@hidden>
Date: Sun Jul 7 17:35:45 2019 -0700
gnu: Add ghc-storablevector.
* gnu/packages/haskell-xyz.scm (ghc-storablevector): New variable.
Signed-off-by: Timothy Sample <address@hidden>
---
gnu/packages/haskell-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index b2cee24..b67754b 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9361,6 +9361,44 @@ Storable instance for Complex which is binary compatible
with C99, C++
and Fortran complex data types.")
(license license:bsd-3)))
+(define-public ghc-storablevector
+ (package
+ (name "ghc-storablevector")
+ (version "0.2.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://hackage.haskell.org/package/storablevector/storablevector-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1zmr738vwnhnyxbikayqnaz31ilv2qlmscp6iqgl7adcfbal4dzq"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-non-negative" ,ghc-non-negative)
+ ("ghc-utility-ht" ,ghc-utility-ht)
+ ("ghc-semigroups" ,ghc-semigroups)
+ ("ghc-unsafe" ,ghc-unsafe)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-syb" ,ghc-syb)))
+ (home-page "https://www.haskell.org/haskellwiki/Storable_Vector")
+ (synopsis "Fast, packed, strict storable arrays with a list interface")
+ (description "This library provides fast, packed, strict storable
+arrays with a list interface, a chunky lazy list interface with variable
+chunk size and an interface for write access via the ST monad. This is
+much like bytestring and binary but can be used for every
+@code{Foreign.Storable.Storable} type. See also
+@url{http://hackage.haskell.org/package/vector}, a library with a
+similar intention.
+
+This library does not do advanced fusion optimization, since especially
+for lazy vectors this would either be incorrect or not applicable. See
+@url{http://hackage.haskell.org/package/storablevector-streamfusion} for
+a library that provides fusion with lazy lists.")
+ (license license:bsd-3)))
+
(define-public ghc-streaming-commons
(package
(name "ghc-streaming-commons")
- branch master updated (68668e9 -> 6ec2450), guix-commits, 2019/09/02
- 01/12: gnu: Add ghc-unsafe., guix-commits, 2019/09/02
- 02/12: gnu: Add ghc-non-negative., guix-commits, 2019/09/02
- 03/12: gnu: Add ghc-timeit., guix-commits, 2019/09/02
- 09/12: gnu: Add ghc-process-extras., guix-commits, 2019/09/02
- 04/12: gnu: Add ghc-storablevector.,
guix-commits <=
- 05/12: gnu: Add ghc-fmlist., guix-commits, 2019/09/02
- 06/12: gnu: Add ghc-storable-record., guix-commits, 2019/09/02
- 07/12: gnu: Add ghc-listlike., guix-commits, 2019/09/02
- 08/12: gnu: Add ghc-storable-tuple., guix-commits, 2019/09/02
- 11/12: gnu: Add ghc-js-flot., guix-commits, 2019/09/02
- 12/12: gnu: Add hoogle., guix-commits, 2019/09/02
- 10/12: gnu: Add ghc-js-jquery., guix-commits, 2019/09/02