[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/27: gnu: Add ghc-http-streams.
From: |
guix-commits |
Subject: |
16/27: gnu: Add ghc-http-streams. |
Date: |
Thu, 1 Aug 2019 12:07:12 -0400 (EDT) |
rob pushed a commit to branch wip-haskell-updates
in repository guix.
commit 768afeceef8e409faa6f79dd02354b96e80f0601
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 package.
---
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)))
- branch wip-haskell-updates created (now 428680d), guix-commits, 2019/08/01
- 02/27: import: hackage: Update list of ghc-included packages., guix-commits, 2019/08/01
- 01/27: gnu: Add ghc-8.6., guix-commits, 2019/08/01
- 06/27: Revert "gnu: ghc-ansi-terminal: Update to 0.9.1.", guix-commits, 2019/08/01
- 05/27: gnu: ghc-hedgehog: Use ghc-ansi-terminal., guix-commits, 2019/08/01
- 07/27: gnu: ghc-concurrent-output: Downgrade to 1.10.9., guix-commits, 2019/08/01
- 12/27: gnu: ghc-yaml: Disable tests., guix-commits, 2019/08/01
- 09/27: gnu: Remove ghc-regex-tdfa-rc., guix-commits, 2019/08/01
- 15/27: gnu: Add ghc-snap-server., guix-commits, 2019/08/01
- 11/27: gnu: ghc-libmpd-haskell: Disable tests., guix-commits, 2019/08/01
- 16/27: gnu: Add ghc-http-streams.,
guix-commits <=
- 19/27: gnu: Add ghc-openssl-streams., guix-commits, 2019/08/01
- 18/27: gnu: Add ghc-hsopenssl., guix-commits, 2019/08/01
- 03/27: gnu: Remove ghc-parsec, ghc-stm, ghc-text, ghc-xhtml., guix-commits, 2019/08/01
- 27/27: gnu: Add ghc-concurrent-extra., guix-commits, 2019/08/01
- 25/27: gnu: Add ghc-prettyclass., guix-commits, 2019/08/01
- 22/27: gnu: Add ghc-io-streams-haproxy., guix-commits, 2019/08/01
- 20/27: gnu: Add ghc-language-glsl., guix-commits, 2019/08/01
- 21/27: gnu: Add ghc-readable., guix-commits, 2019/08/01
- 04/27: Revert "gnu: ghc-ansi-wl-pprint: Use ghc-ansi-terminal-0.8.", guix-commits, 2019/08/01
- 08/27: gnu: ghc-validation: Downgrade to 1., guix-commits, 2019/08/01