28 lines
1,008 B
Nix
28 lines
1,008 B
Nix
{ cabal, base64Bytestring, blazeBuilder, caseInsensitive, cookie
|
|
, dataDefault, deepseq, failure, hspec, httpTypes, monadControl
|
|
, network, publicsuffixlist, text, time, transformers, zlib
|
|
, zlibBindings
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "http-client";
|
|
version = "0.2.0.3";
|
|
sha256 = "0dy0nf92404hlg4f4zifx6b1qs5wadgky7snqrizl5kk5af43i4h";
|
|
buildDepends = [
|
|
base64Bytestring blazeBuilder caseInsensitive cookie dataDefault
|
|
deepseq failure httpTypes network publicsuffixlist text time
|
|
transformers zlibBindings
|
|
];
|
|
testDepends = [
|
|
base64Bytestring blazeBuilder caseInsensitive dataDefault deepseq
|
|
failure hspec httpTypes monadControl network text time transformers
|
|
zlib zlibBindings
|
|
];
|
|
doCheck = false;
|
|
meta = {
|
|
homepage = "https://github.com/snoyberg/http-client";
|
|
description = "An HTTP client engine, intended as a base layer for more user-friendly packages";
|
|
license = self.stdenv.lib.licenses.mit;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|