guix-commits
[Top][All Lists]
Advanced

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

125/151: gnu: Add ghc-vector-binary-instances.


From: Paul
Subject: 125/151: gnu: Add ghc-vector-binary-instances.
Date: Mon, 19 Oct 2015 08:58:44 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 560f12d164ac02856ea4ab9b0152ff4b52d89ec8
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 17:04:39 2015 +0200

    gnu: Add ghc-vector-binary-instances.
    
    * gnu/packages/haskell.scm (ghc-vector-binary-instances): New variable.
---
 gnu/packages/haskell.scm |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index adcc406..a3322cb 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2618,6 +2618,36 @@ is also parametric in the input stream type.")
 mutable and immutable), with a powerful loop optimisation framework.")
     (license bsd-3)))
 
+(define-public ghc-vector-binary-instances
+  (package
+    (name "ghc-vector-binary-instances")
+    (version "0.2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/";
+             "vector-binary-instances/vector-binary-instances-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "028rsf2w193rhs1gic5yvvrwidw9sblczcn10aw64npfc6502l4l"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-cereal" ,ghc-cereal)))
+    (inputs
+     `(("ghc-vector" ,ghc-vector)))
+    (home-page
+     "https://github.com/bos/vector-binary-instances";)
+    (synopsis
+     "Instances of Data.Binary and Data.Serialize for vector")
+    (description
+     "Instances for Binary for the types defined in the vector package, making
+it easy to serialize vectors to and from disk.  We use the generic interface
+to vectors, so all vector types are supported.  Specific instances are
+provided for unboxed, boxed and storable vectors.")
+    (license bsd-3)))
+
 (define-public ghc-network
   (package
     (name "ghc-network")



reply via email to

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