guix-commits
[Top][All Lists]
Advanced

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

19/27: gnu: Add ghc-io-streams


From: guix-commits
Subject: 19/27: gnu: Add ghc-io-streams
Date: Wed, 31 Jul 2019 12:23:32 -0400 (EDT)

rob pushed a commit to branch wip-haskell-updates
in repository guix.

commit 925a750cb4606ab0a3918fd4ccdd12e30befb51d
Author: Robert Vollmert <address@hidden>
Date:   Mon Jul 15 10:48:35 2019 +0200

    gnu: Add ghc-io-streams
    
    * gnu/packages/haskell-xyz.scm (ghc-io-streams): New field.
---
 gnu/packages/haskell-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index f1ba069..43d04b0 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -120,6 +120,51 @@ about a networked peer (like remote address and port) to 
be propagated
 through a forwarding proxy that is configured to speak this protocol.")
     (license license:bsd-3)))
 
+(define-public ghc-io-streams
+  (package
+    (name "ghc-io-streams")
+    (version "1.5.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/io-streams/io-streams-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "12rcdg2d70644bvn838fxcjkssqj8pssnx5y657si5rijcbkgjsx"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-attoparsec" ,ghc-attoparsec)
+       ("ghc-bytestring-builder"
+        ,ghc-bytestring-builder)
+       ("ghc-network" ,ghc-network)
+       ("ghc-primitive" ,ghc-primitive)
+       ("ghc-vector" ,ghc-vector)
+       ("ghc-zlib-bindings" ,ghc-zlib-bindings)))
+    (native-inputs
+     `(("ghc-hunit" ,ghc-hunit)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-test-framework" ,ghc-test-framework)
+       ("ghc-test-framework-hunit"
+        ,ghc-test-framework-hunit)
+       ("ghc-test-framework-quickcheck2"
+        ,ghc-test-framework-quickcheck2)
+       ("ghc-zlib" ,ghc-zlib)))
+    (arguments
+     `(#:cabal-revision
+       ("2"
+        "1mcab95d6hm098myh9gp7sh10srigjphgvm8s9pfs7jg5hzghy14")))
+    (home-page
+     "http://hackage.haskell.org/package/io-streams";)
+    (synopsis
+     "Simple, composable, and easy-to-use stream I/O")
+    (description
+     "The io-streams library contains simple and easy-to-use
+primitives for I/O using streams.")
+    (license license:bsd-3)))
+
 (define-public ghc-zlib-bindings
   (package
     (name "ghc-zlib-bindings")



reply via email to

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