[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/15: gnu: Add ghc-http-conduit.
From: |
Ludovic Courtès |
Subject: |
15/15: gnu: Add ghc-http-conduit. |
Date: |
Fri, 16 Jun 2017 04:33:59 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 556f173904675a18cfd0dcbc9ed21c1c499e33bb
Author: rsiddharth <address@hidden>
Date: Thu Jun 15 01:24:00 2017 +0000
gnu: Add ghc-http-conduit.
* gnu/packages/haskell.scm (ghc-http-conduit): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/haskell.scm | 60 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a2d26af..9d03e56 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -8606,4 +8606,64 @@ based WAI (Web Application Interface in Haskell).")
a WAI handler, via the native Haskell TLS implementation.")
(license license:expat)))
+(define-public ghc-http-conduit
+ (package
+ (name "ghc-http-conduit")
+ (version "2.2.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "http-conduit-" version "/" "http-conduit-"
+ version ".tar.gz"))
+ (sha256 (base32
+ "03na2nbm9la0shlijvjyb5mpp1prfskk4jmjy8iz707r0731dbjk"))))
+ (build-system haskell-build-system)
+ ;; FIXME: `httpLbs TLS` in test-suite `test` fails with
+ ;; ConnectionFailure getProtocolByName: does not exist (no such protocol
+ ;; name: tcp)
+ (arguments `(#:tests? #f))
+ (inputs
+ `(("ghc-aeson" ,ghc-aeson)
+ ("ghc-resourcet" ,ghc-resourcet)
+ ("ghc-conduit" ,ghc-conduit)
+ ("ghc-conduit-extra" ,ghc-conduit-extra)
+ ("ghc-http-types" ,ghc-http-types)
+ ("ghc-lifted-base" ,ghc-lifted-base)
+ ("ghc-http-client" ,ghc-http-client)
+ ("ghc-http-client-tls" ,ghc-http-client-tls)
+ ("ghc-monad-control" ,ghc-monad-control)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-exceptions" ,ghc-exceptions)))
+ (native-inputs
+ `(("ghc-hunit" ,ghc-hunit)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-data-default-class" ,ghc-data-default-class)
+ ("ghc-connection" ,ghc-connection)
+ ("ghc-warp-tls" ,ghc-warp-tls)
+ ("ghc-blaze-builder" ,ghc-blaze-builder)
+ ("ghc-text" ,ghc-text)
+ ("ghc-conduit" ,ghc-conduit)
+ ("ghc-utf8-string" ,ghc-utf8-string)
+ ("ghc-case-insensitive" ,ghc-case-insensitive)
+ ("ghc-lifted-base" ,ghc-lifted-base)
+ ("ghc-network" ,ghc-network)
+ ("ghc-wai" ,ghc-wai)
+ ("ghc-warp" ,ghc-warp)
+ ("ghc-wai-conduit" ,ghc-wai-conduit)
+ ("ghc-http-types" ,ghc-http-types)
+ ("ghc-http-client" ,ghc-http-client)
+ ("ghc-cookie" ,ghc-cookie)
+ ("ghc-conduit-extra" ,ghc-conduit-extra)
+ ("ghc-streaming-commons" ,ghc-streaming-commons)
+ ("ghc-aeson" ,ghc-aeson)
+ ("ghc-temporary" ,ghc-temporary)
+ ("ghc-resourcet" ,ghc-resourcet)))
+ (home-page "https://hackage.haskell.org/package/http-conduit")
+ (synopsis "HTTP/HTTPS client with conduit interface")
+ (description "This library uses attoparsec for parsing the actual
+contents of the HTTP connection. It also provides higher-level functions
+which allow you to avoid direct usage of conduits.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
- 09/15: gnu: ghc-wai: Update to 3.2.1.1., (continued)
- 09/15: gnu: ghc-wai: Update to 3.2.1.1., Ludovic Courtès, 2017/06/16
- 11/15: gnu: Add ghc-warp., Ludovic Courtès, 2017/06/16
- 07/15: gnu: Add ghc-http2., Ludovic Courtès, 2017/06/16
- 10/15: gnu: ghc-wai-extra: Update to 3.0.13.1., Ludovic Courtès, 2017/06/16
- 12/15: gnu: Add ghc-warp-tls., Ludovic Courtès, 2017/06/16
- 13/15: gnu: ghc-http-client: Update to 0.5.6.1., Ludovic Courtès, 2017/06/16
- 14/15: gnu: ghc-http-client-tls: Update to 0.3.4.1., Ludovic Courtès, 2017/06/16
- 04/15: gnu: Add ghc-hex., Ludovic Courtès, 2017/06/16
- 08/15: gnu: ghc-auto-update: Update to 0.1.4., Ludovic Courtès, 2017/06/16
- 05/15: gnu: Add ghc-psqueues., Ludovic Courtès, 2017/06/16
- 15/15: gnu: Add ghc-http-conduit.,
Ludovic Courtès <=