31 lines
1.3 KiB
Nix
31 lines
1.3 KiB
Nix
{ cabal, asn1Data, attoparsec, attoparsecConduit, base64Bytestring
|
|
, blazeBuilder, blazeBuilderConduit, caseInsensitive, certificate
|
|
, conduit, cookie, cprngAes, dataDefault, deepseq, failure
|
|
, httpTypes, liftedBase, monadControl, mtl, network, regexCompat
|
|
, resourcet, socks, text, time, tls, tlsExtra, transformers
|
|
, transformersBase, utf8String, void, zlibConduit
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "http-conduit";
|
|
version = "1.6.0";
|
|
sha256 = "1vr4kglmlqn6s31ks231qx4b8034p6yi0501h3zswpqyf5cimhl7";
|
|
buildDepends = [
|
|
asn1Data attoparsec attoparsecConduit base64Bytestring blazeBuilder
|
|
blazeBuilderConduit caseInsensitive certificate conduit cookie
|
|
cprngAes dataDefault deepseq failure httpTypes liftedBase
|
|
monadControl mtl network regexCompat resourcet socks text time tls
|
|
tlsExtra transformers transformersBase utf8String void zlibConduit
|
|
];
|
|
patchPhase = ''
|
|
sed -i http-conduit.cabal -e 's|, base64-bytestring.*|, base64-bytestring|' -e 's|, asn1-data.*|, asn1-data|'
|
|
'';
|
|
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 ];
|
|
};
|
|
})
|