diff options
author | Robert Vollmert <rob@vllmrt.net> | 2019-07-15 10:46:27 +0200 |
---|---|---|
committer | Timothy Sample <samplet@ngyro.com> | 2019-08-07 22:05:32 -0400 |
commit | 7b01a977e455f65a67eea68af0fbda4a0abf1d15 (patch) | |
tree | 362e776494bfe78cf00097622a7c86210428e9f2 /gnu/packages/haskell-xyz.scm | |
parent | 658dbc7ff2f39053511725fa149df7029fae1141 (diff) | |
download | patches-7b01a977e455f65a67eea68af0fbda4a0abf1d15.tar patches-7b01a977e455f65a67eea68af0fbda4a0abf1d15.tar.gz |
gnu: Add ghc-io-streams-haproxy.
* gnu/packages/haskell-xyz.scm (ghc-io-streams-haproxy): New variable.
Diffstat (limited to 'gnu/packages/haskell-xyz.scm')
-rw-r--r-- | gnu/packages/haskell-xyz.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 592296ded8..53c4dcc5ff 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -112,6 +112,40 @@ Python.") primitives for I/O using streams.") (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 @uref{http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt}) +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-language-glsl (package (name "ghc-language-glsl") |