[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 19/23] gnu: Add ghc-bytestring.
From: |
ng0 |
Subject: |
[PATCH 19/23] gnu: Add ghc-bytestring. |
Date: |
Fri, 2 Sep 2016 09:40:06 +0000 |
* gnu/packages/haskell.scm (ghc-bytestring): New variable.
---
gnu/packages/haskell.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 65eebbd..ca6d59a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6864,4 +6864,41 @@ Polymorphism', by Mark P Jones. This package is almost
a compatible replacement
the @code{mtl-tf} package.")
(license license:bsd-3)))
+(define-public ghc-bytestring
+ (package
+ (name "ghc-bytestring")
+ (version "0.10.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/bytestring/bytestring-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "16zwb1p83z7vc5wlhvknpy80b5a2jxc5awx67rk52qnp9idmyq9d"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-random" ,ghc-random)
+ ("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-test-framework-hunit" ,ghc-test-framework-hunit)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-byteorder" ,ghc-byteorder)
+ ("ghc-dlist" ,ghc-dlist)
+ ("ghc-mtl" ,ghc-mtl)))
+ (arguments
+ `(#:tests? #f)) ; Test number two becomes non-responsive for 20+ minutes
+ (home-page "https://github.com/haskell/bytestring")
+ (synopsis "Fast, compact, strict and lazy byte strings with a list
interface")
+ (description
+ "An efficient compact, immutable byte string type (both strict and lazy)
+suitable for binary or 8-bit character data. The 'ByteString' type represents
+sequences of bytes or 8-bit characters. It is suitable for high performance
use,
+both in terms of large data quantities, or high speed requirements. The
'ByteString'
+functions follow the same style as ordinary lists, so it is easy to convert
code
+from using 'String' to 'ByteString'.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.9.3
- [PATCH 09/23] gnu: Add ghc-regex-tdfa., (continued)
- [PATCH 09/23] gnu: Add ghc-regex-tdfa., ng0, 2016/09/02
- [PATCH 11/23] gnu: Add ghc-tasty-th., ng0, 2016/09/02
- [PATCH 15/23] gnu: Add ghc-transformers., ng0, 2016/09/02
- [PATCH 10/23] gnu: Add ghc-regex-compat-tdfa., ng0, 2016/09/02
- [PATCH 13/23] gnu: Add ghc-bytestring-handle., ng0, 2016/09/02
- [PATCH 20/23] gnu: Add ghc-colour., ng0, 2016/09/02
- [PATCH 12/23] gnu: Add ghc-sandi., ng0, 2016/09/02
- [PATCH 18/23] gnu: Add ghc-monads-tf., ng0, 2016/09/02
- [PATCH 17/23] gnu: Add ghc-patience., ng0, 2016/09/02
- [PATCH 23/23] gnu: Add ghc-wl-pprint-text., ng0, 2016/09/02
- [PATCH 19/23] gnu: Add ghc-bytestring.,
ng0 <=
- [PATCH 16/23] gnu: Add ghc-findbin., ng0, 2016/09/02
- [PATCH 14/23] gnu: Add ghc-tar., ng0, 2016/09/02
- [PATCH 22/23] gnu: Add ghc-process., ng0, 2016/09/02
- [PATCH 21/23] gnu: Add ghc-directory., ng0, 2016/09/02