2014-04-04 23:29:49 +02:00
|
|
|
{ cabal, async, base64Bytestring, blazeBuilder, caseInsensitive
|
|
|
|
, cookie, dataDefaultClass, deepseq, exceptions, filepath, hspec
|
|
|
|
, httpTypes, mimeTypes, monadControl, network, publicsuffixlist
|
|
|
|
, random, streamingCommons, text, time, transformers, zlib
|
2013-12-09 12:58:47 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "http-client";
|
2014-04-04 23:29:49 +02:00
|
|
|
version = "0.3.0.2";
|
|
|
|
sha256 = "1r858ml809c21q9q2kv0105y89cizncxym9mf1f0f165aa2hx71m";
|
2013-12-09 12:58:47 +01:00
|
|
|
buildDepends = [
|
2014-02-10 11:06:15 +01:00
|
|
|
base64Bytestring blazeBuilder caseInsensitive cookie
|
2014-04-04 23:29:49 +02:00
|
|
|
dataDefaultClass deepseq exceptions filepath httpTypes mimeTypes
|
|
|
|
network publicsuffixlist random streamingCommons text time
|
|
|
|
transformers
|
2013-12-09 12:58:47 +01:00
|
|
|
];
|
|
|
|
testDepends = [
|
2014-04-04 23:29:49 +02:00
|
|
|
async base64Bytestring blazeBuilder caseInsensitive deepseq hspec
|
2014-02-10 11:06:15 +01:00
|
|
|
httpTypes monadControl network text time transformers zlib
|
2013-12-09 12:58:47 +01:00
|
|
|
];
|
2013-12-10 10:40:15 +01:00
|
|
|
doCheck = false;
|
2013-12-09 12:58:47 +01: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;
|
|
|
|
};
|
|
|
|
})
|