From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47173) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmywu-0004pa-4Z for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmyws-0002Tc-6r for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37850) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmywq-0002Rl-Gj for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmywq-0003Sn-A3 for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:12 -0400 Subject: [bug#36663] [PATCH 11/14] gnu: Add ghc-io-streams Resent-Message-ID: From: Robert Vollmert Date: Mon, 15 Jul 2019 13:14:09 +0200 Message-Id: <20190715111412.74324-11-rob@vllmrt.net> In-Reply-To: <20190715111412.74324-1-rob@vllmrt.net> References: <20190715111412.74324-1-rob@vllmrt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36663@debbugs.gnu.org Cc: Robert Vollmert * 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 f1ba0696a0..43d04b0563 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") -- 2.20.1 (Apple Git-117)