mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
31 lines
1.1 KiB
Nix
31 lines
1.1 KiB
Nix
{ cabal, blazeBuilder, caseInsensitive, conduit, connection, cookie
|
|
, dataDefaultClass, hspec, httpClient, httpClientConduit
|
|
, httpClientMultipart, httpClientTls, httpTypes, HUnit, liftedBase
|
|
, network, networkConduit, resourcet, text, time, transformers
|
|
, utf8String, wai, warp, warpTls
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "http-conduit";
|
|
version = "2.0.0.7";
|
|
sha256 = "0rizmshpypllfbmipbrad7hkrs2asx0ijfhr53w3pj58w6h80m0i";
|
|
buildDepends = [
|
|
conduit httpClient httpClientConduit httpClientTls httpTypes
|
|
liftedBase resourcet transformers
|
|
];
|
|
testDepends = [
|
|
blazeBuilder caseInsensitive conduit connection cookie
|
|
dataDefaultClass hspec httpClient httpClientMultipart httpTypes
|
|
HUnit liftedBase network networkConduit text time transformers
|
|
utf8String wai warp warpTls
|
|
];
|
|
doCheck = false;
|
|
meta = {
|
|
homepage = "http://www.yesodweb.com/book/http-conduit";
|
|
description = "HTTP client package with conduit interface and HTTPS support";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|