mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
31 lines
1.1 KiB
Nix
31 lines
1.1 KiB
Nix
{ cabal, blazeBuilder, caseInsensitive, conduit, conduitExtra
|
|
, connection, cookie, dataDefaultClass, hspec, httpClient
|
|
, httpClientTls, httpTypes, HUnit, liftedBase, monadControl, mtl
|
|
, network, networkConduit, resourcet, streamingCommons, text, time
|
|
, transformers, utf8String, wai, warp, warpTls
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "http-conduit";
|
|
version = "2.1.0";
|
|
sha256 = "1qlqhrrc130c8wvgbbbkb7qrm8gp48gkv5xanqgb26amvny98gsv";
|
|
buildDepends = [
|
|
conduit httpClient httpClientTls httpTypes liftedBase monadControl
|
|
mtl resourcet transformers
|
|
];
|
|
testDepends = [
|
|
blazeBuilder caseInsensitive conduit conduitExtra connection cookie
|
|
dataDefaultClass hspec httpClient httpTypes HUnit liftedBase
|
|
network networkConduit streamingCommons 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 ];
|
|
};
|
|
})
|