From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47104) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmywp-0004dv-Ur for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmywo-0002P3-2T for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmywn-0002OO-Tm for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmywn-0003Qo-Ml for guix-patches@gnu.org; Mon, 15 Jul 2019 07:15:09 -0400 Subject: [bug#36663] [PATCH 09/14] gnu: Add ghc-io-streams-haproxy Resent-Message-ID: From: Robert Vollmert Date: Mon, 15 Jul 2019 13:14:07 +0200 Message-Id: <20190715111412.74324-9-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-haproxy): New field. --- gnu/packages/haskell-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f845883589..806a9458f6 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -80,3 +80,42 @@ the parsing, and the pretty-printing of GLSL 1.50 code.") "Provides a Readable type class for reading data types from ByteString and Text. Also includes efficient implementations for common data types.") (license license:bsd-3))) + +(define-public ghc-io-streams-haproxy + (package + (name "ghc-io-streams-haproxy") + (version "1.0.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/io-streams-haproxy/io-streams-haproxy-" + version + ".tar.gz")) + (sha256 + (base32 + "11nh9q158mgnvvb23s5ffg87lkhl5smk039yl43jghxmb214z0bp")))) + (build-system haskell-build-system) + (inputs + `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-io-streams" ,ghc-io-streams) + ("ghc-network" ,ghc-network))) + (native-inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-hunit" + ,ghc-test-framework-hunit))) + (arguments + `(#:cabal-revision + ("4" + "06c51a057n5bc9xfbp2m4jz5ds4z1xvmsx5mppch6qfwbz7x5i9l"))) + (home-page "http://snapframework.com/") + (synopsis + "HAProxy protocol 1.5 support for io-streams") + (description + "HAProxy protocol version 1.5 support +(see ) +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))) -- 2.20.1 (Apple Git-117)