guix-commits
[Top][All Lists]
Advanced

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

11/27: gnu: Add ghc-http-streams


From: guix-commits
Subject: 11/27: gnu: Add ghc-http-streams
Date: Wed, 31 Jul 2019 12:23:31 -0400 (EDT)

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

commit c61ccbe88ffd715d6c094de1d80a0ba2eaab83cb
Author: Robert Vollmert <address@hidden>
Date:   Mon Jul 15 10:30:26 2019 +0200

    gnu: Add ghc-http-streams
    
    * gnu/packages/haskell-web.scm (ghc-http-streams): New filed.
---
 gnu/packages/haskell-web.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index c093110..6524762 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1416,3 +1416,44 @@ Haskell.  Together with the snap-core library upon which 
it depends,
 it provides a clean and efficient Haskell programming interface to the
 HTTP protocol.")
     (license license:bsd-3)))
+
+(define-public ghc-http-streams
+  (package
+    (name "ghc-http-streams")
+    (version "0.8.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/http-streams/http-streams-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "18vxd35n7s3z4gjvad94bknc8z1w9d7ccgphnhsxlz5cackizmxq"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-attoparsec" ,ghc-attoparsec)
+       ("ghc-base64-bytestring" ,ghc-base64-bytestring)
+       ("ghc-blaze-builder" ,ghc-blaze-builder)
+       ("ghc-case-insensitive" ,ghc-case-insensitive)
+       ("ghc-io-streams" ,ghc-io-streams)
+       ("ghc-hsopenssl" ,ghc-hsopenssl)
+       ("ghc-openssl-streams" ,ghc-openssl-streams)
+       ("ghc-unordered-containers"
+        ,ghc-unordered-containers)
+       ("ghc-aeson" ,ghc-aeson)
+       ("ghc-http-common" ,ghc-http-common)
+       ("ghc-network-uri" ,ghc-network-uri)
+       ("ghc-network" ,ghc-network)))
+    (arguments
+     `(#:tests? #f)) ; tests rely on an outdated versio of snap-server
+    (home-page
+     "https://github.com/afcowie/http-streams/";)
+    (synopsis "HTTP client using io-streams")
+    (description
+     "An HTTP client, using the Snap Framework's io-streams
+library to hande the streaming IO.  The API is optimized for ease of use
+for the rather common case of code needing to query web services and deal
+with the result.")
+    (license license:bsd-3)))



reply via email to

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