[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/23] gnu: Add ghc-binary.
From: |
ng0 |
Subject: |
[PATCH 02/23] gnu: Add ghc-binary. |
Date: |
Fri, 2 Sep 2016 09:39:49 +0000 |
* gnu/packages/haskell.scm (ghc-binary): New variable.
---
gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index edb098a..3934c17 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6453,4 +6453,35 @@ Epigram and Agda.")
data quickly and efficiently, using the ByteString type.")
(license license:bsd-3)))
+(define-public ghc-binary
+ (package
+ (name "ghc-binary")
+ (version "0.8.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/binary/binary-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1fp7wxnf57cjzhbb7rgqs6fgws4690zh0dxgl924dj4nzq0cf4wd"))))
+ (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-hunit" ,ghc-hunit)))
+ (home-page "https://github.com/kolmodin/binary")
+ (synopsis
+ "Binary serialisation for Haskell values using lazy ByteStrings")
+ (description
+ "Efficient, pure binary serialisation using lazy ByteStrings. Haskell
values
+may be encoded to and from binary formats, written to disk as binary, or sent
over
+the network. The format used can be automatically generated, or you can
choose to
+implement a custom format if needed. Serialisation speeds of over 1 G\\/sec
have
+been observed, so this library should be suitable for high performance
scenarios.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.9.3
- [PATCH 01/23] gnu: Add ghc-base16-bytestring., ng0, 2016/09/02
- [PATCH 03/23] gnu: ghc-cryptonite: Update to 0.19., ng0, 2016/09/02
- [PATCH 02/23] gnu: Add ghc-binary.,
ng0 <=
- [PATCH 06/23] gnu: Add ghc-terminfo., ng0, 2016/09/02
- [PATCH 04/23] gnu: Add ghc-cryptohash., ng0, 2016/09/02
- [PATCH 05/23] gnu: Add ghc-data-ordlist., ng0, 2016/09/02
- [PATCH 07/23] gnu: Add ghc-haskeline., ng0, 2016/09/02
- [PATCH 08/23] gnu: Add ghc-regex-applicative., ng0, 2016/09/02
- [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