2013-12-09 11:58:47 +00:00
|
|
|
{ cabal, base64Bytestring, blazeBuilder, caseInsensitive, cookie
|
2014-02-10 10:06:15 +00:00
|
|
|
, dataDefaultClass, deepseq, failure, hspec, httpTypes
|
|
|
|
, monadControl, network, publicsuffixlist, text, time, transformers
|
|
|
|
, zlib, zlibBindings
|
2013-12-09 11:58:47 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "http-client";
|
2014-03-27 12:17:33 +00:00
|
|
|
version = "0.2.2.4";
|
|
|
|
sha256 = "19dymsi39m2m7i99xsmcl9gigqm6jhynnv0w8w230mq8vraq1mcw";
|
2013-12-09 11:58:47 +00:00
|
|
|
buildDepends = [
|
2014-02-10 10:06:15 +00:00
|
|
|
base64Bytestring blazeBuilder caseInsensitive cookie
|
|
|
|
dataDefaultClass deepseq failure httpTypes network publicsuffixlist
|
|
|
|
text time transformers zlibBindings
|
2013-12-09 11:58:47 +00:00
|
|
|
];
|
|
|
|
testDepends = [
|
2014-02-10 10:06:15 +00:00
|
|
|
base64Bytestring blazeBuilder caseInsensitive deepseq failure hspec
|
|
|
|
httpTypes monadControl network text time transformers zlib
|
|
|
|
zlibBindings
|
2013-12-09 11:58:47 +00:00
|
|
|
];
|
2013-12-10 09:40:15 +00:00
|
|
|
doCheck = false;
|
2013-12-09 11:58:47 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|