guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31421] [PATCH 4/6] gnu: Add ghc-binary.


From: Tonton
Subject: [bug#31421] [PATCH 4/6] gnu: Add ghc-binary.
Date: Fri, 11 May 2018 22:34:06 +0200

* gnu/packages/haskell.scm (ghc-binary): New variable.
---
 gnu/packages/haskell.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index dd9d2f15d..d8128422e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9521,4 +9521,38 @@ maps, sequences, trees, and graphs.")
    (home-page "https://hackage.haskell.org/package/containers";)
    (license license:bsd-3)))
 
+(define-public ghc-binary
+  (package
+   (name "ghc-binary")
+   (version "0.8.5.1")
+   (source
+    (origin
+     (method url-fetch)
+     (uri
+      (string-append 
"https://hackage.haskell.org/package/binary-0.8.5.1/binary-";
+                     version ".tar.gz"))
+     (file-name (string-append name "-" version ".tar.gz"))
+     (sha256
+      (base32
+       "15h5zqfw7xmcimvlq6bs8f20vxlfvz7g411fns5z7212crlimffy"))))
+   (build-system haskell-build-system)
+   (inputs `(("ghc-bytestring" ,ghc-bytestring-builder)
+             ("ghc-array" ,ghc-array)
+             ("ghc-ghc-prim" ,ghc-primitive)
+             ("ghc-hunit" ,ghc-hunit)
+             ("ghc-quickcheck" ,ghc-quickcheck-2.9)
+             ("ghc-test-framework" ,ghc-test-framework)
+             ("ghc-test-framework-quickcheck2" 
,ghc-test-framework-quickcheck2-w-qc-2.9)
+             ("ghc-containers" ,ghc-containers)))
+   (synopsis "Haskell binary serialisation 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.")
+   (home-page "https://hackage.haskell.org/package/binary";)
+   (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.17.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]