30 lines
1.1 KiB
Nix
30 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.1";
|
|
sha256 = "1xdd7kdxr7jbic2j9rd6gvx637d24wr1lyfnaj02v16x9b0nydjm";
|
|
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 ];
|
|
};
|
|
})
|