From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47175) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmywu-0004pc-51 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-0002TQ-7H for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37851) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmywr-0002SJ-A3 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 1hmywr-0003TR-3O for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:13 -0400 Subject: [bug#36663] [PATCH 10/14] gnu: Add ghc-zlib-bindings Resent-Message-ID: From: Robert Vollmert Date: Mon, 15 Jul 2019 13:14:08 +0200 Message-Id: <20190715111412.74324-10-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-zlib-bindings): New field. --- gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 806a9458f6..f1ba0696a0 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -119,3 +119,34 @@ for applications using io-streams. The proxy protocol allows information 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-zlib-bindings + (package + (name "ghc-zlib-bindings") + (version "0.1.1.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/zlib-bindings/zlib-bindings-" + version + ".tar.gz")) + (sha256 + (base32 + "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8")))) + (build-system haskell-build-system) + (inputs `(("ghc-zlib" ,ghc-zlib))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck))) + (arguments + `(#:cabal-revision + ("2" + "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc"))) + (home-page + "https://github.com/snapframework/zlib-bindings") + (synopsis + "Low-level bindings to the zlib package") + (description + "Low-level bindings to the zlib package.") + (license license:bsd-3))) -- 2.20.1 (Apple Git-117)