[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/28: gnu: Add ghc-http-streams.
From: |
guix-commits |
Subject: |
20/28: gnu: Add ghc-http-streams. |
Date: |
Wed, 7 Aug 2019 23:28:33 -0400 (EDT) |
samplet pushed a commit to branch master
in repository guix.
commit 4ccd679f2568a6b15943521338e1a0a5b1661b05
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 variable.
---
gnu/packages/haskell-web.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 319b1f8..216c26b 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -28,6 +28,7 @@
#:use-module (gnu packages haskell)
#:use-module (gnu packages haskell-check)
#:use-module (gnu packages haskell-crypto)
+ #:use-module (gnu packages haskell-xyz)
#:use-module (guix build-system haskell)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
@@ -1322,3 +1323,39 @@ servers. See http-streams @code{Network.Http.Client} or
pipes-http
@code{Network.Http.Types} if you like, but both http-streams and
pipes-http re-export this package's types and functions.")
(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 version 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 handle 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)))
- 08/28: gnu: ghc-ansi-terminal: Downgrade to 0.8.0.4., (continued)
- 08/28: gnu: ghc-ansi-terminal: Downgrade to 0.8.0.4., guix-commits, 2019/08/07
- 09/28: gnu: Add ghc-prettyclass., guix-commits, 2019/08/07
- 11/28: gnu: Add ghc-concurrent-extra., guix-commits, 2019/08/07
- 17/28: gnu: Add ghc-hsopenssl., guix-commits, 2019/08/07
- 13/28: gnu: Add ghc-threads., guix-commits, 2019/08/07
- 14/28: gnu: Add ghc-zlib-bindings., guix-commits, 2019/08/07
- 18/28: gnu: Add ghc-openssl-streams., guix-commits, 2019/08/07
- 21/28: gnu: Add ghc-snap-core., guix-commits, 2019/08/07
- 26/28: gnu: ghc-libmpd-haskell: Disable tests., guix-commits, 2019/08/07
- 28/28: gnu: ghc-trifecta: Disable tests., guix-commits, 2019/08/07
- 20/28: gnu: Add ghc-http-streams.,
guix-commits <=
- 24/28: gnu: Remove ghc-haddock-test., guix-commits, 2019/08/07
- 25/28: gnu: Remove ghc-packedstring., guix-commits, 2019/08/07
- 16/28: gnu: Add ghc-io-streams-haproxy., guix-commits, 2019/08/07
- 19/28: gnu: Add ghc-http-common., guix-commits, 2019/08/07
- 23/28: gnu: Remove ghc-regex-tdfa-rc., guix-commits, 2019/08/07
- 27/28: gnu: ghc-yaml: Disable tests., guix-commits, 2019/08/07
- 04/28: gnu: Remove ghc-parsec, ghc-stm, ghc-text, ghc-xhtml., guix-commits, 2019/08/07