mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
30 lines
1.1 KiB
Nix
30 lines
1.1 KiB
Nix
{ cabal, async, base64Bytestring, blazeBuilder, caseInsensitive
|
|
, cookie, dataDefaultClass, deepseq, exceptions, filepath, hspec
|
|
, httpTypes, mimeTypes, monadControl, network, publicsuffixlist
|
|
, random, streamingCommons, text, time, transformers, zlib
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "http-client";
|
|
version = "0.3.3";
|
|
sha256 = "001nmy6f57l2f7gc4mchz1gwam28qldkwmcxzs8jnqwczcirgk38";
|
|
buildDepends = [
|
|
base64Bytestring blazeBuilder caseInsensitive cookie
|
|
dataDefaultClass deepseq exceptions filepath httpTypes mimeTypes
|
|
network publicsuffixlist random streamingCommons text time
|
|
transformers
|
|
];
|
|
testDepends = [
|
|
async base64Bytestring blazeBuilder caseInsensitive deepseq hspec
|
|
httpTypes monadControl network streamingCommons text time
|
|
transformers zlib
|
|
];
|
|
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;
|
|
};
|
|
})
|