guix-commits
[Top][All Lists]
Advanced

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

23/28: gnu: Add ghc-io-streams-haproxy.


From: guix-commits
Subject: 23/28: gnu: Add ghc-io-streams-haproxy.
Date: Thu, 1 Aug 2019 12:14:06 -0400 (EDT)

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

commit d1b6cc4bb2e41480737a61bb43721a66c421820d
Author: Robert Vollmert <address@hidden>
Date:   Mon Jul 15 10:46:27 2019 +0200

    gnu: Add ghc-io-streams-haproxy.
    
    * gnu/packages/haskell-xyz.scm (ghc-io-streams-haproxy): New package.
---
 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 f845883..806a945 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 <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)))



reply via email to

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