[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/14: gnu: Add ghc-storablevector.
From: |
guix-commits |
Subject: |
05/14: gnu: Add ghc-storablevector. |
Date: |
Fri, 16 Aug 2019 14:57:34 -0400 (EDT) |
rob pushed a commit to branch wip-haskell-updates
in repository guix.
commit 251017d4a6f6f3af0bdbee8026c66e87caed081e
Author: John Soo <address@hidden>
Date: Sun Jul 7 17:35:45 2019 -0700
gnu: Add ghc-storablevector.
* gnu/packages/haskell.scm (ghc-storablevector): New variable.
---
gnu/packages/haskell-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 087d178..c2a5b1c 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9362,6 +9362,43 @@ 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
+ "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 package with a
+similar intention at http://hackage.haskell.org/package/vector.
+
+We do not provide advanced fusion optimization, since especially for lazy
+vectors this would either be incorrect or not applicable. However we provide
+fusion with lazy lists in the package
+http://hackage.haskell.org/package/storablevector-streamfusion.")
+ (license license:bsd-3)))
+
(define-public ghc-streaming-commons
(package
(name "ghc-streaming-commons")
- branch wip-haskell-updates created (now 1fd52de), guix-commits, 2019/08/16
- 03/14: gnu: Add ghc-non-negative., guix-commits, 2019/08/16
- 02/14: gnu: Add ghc-unsafe., guix-commits, 2019/08/16
- 06/14: gnu: Add ghc-fmlist., guix-commits, 2019/08/16
- 07/14: gnu: Add ghc-storable-record., guix-commits, 2019/08/16
- 08/14: gnu: Add ghc-listlike., guix-commits, 2019/08/16
- 04/14: gnu: Add ghc-timeit., guix-commits, 2019/08/16
- 05/14: gnu: Add ghc-storablevector.,
guix-commits <=
- 11/14: gnu: Add ghc-js-jquery., guix-commits, 2019/08/16
- 12/14: gnu: Add ghc-js-flot., guix-commits, 2019/08/16
- 13/14: gnu: Add hoogle., guix-commits, 2019/08/16
- 10/14: gnu: Add ghc-process-extras., guix-commits, 2019/08/16
- 14/14: gnu: Add elm-compiler 0.19.0., guix-commits, 2019/08/16
- 09/14: gnu: Add ghc-storable-tuple., guix-commits, 2019/08/16
- 01/14: gnu: packages: Split non-compilers out of haskell.scm., guix-commits, 2019/08/16