2014-01-16 11:54:49 +01:00
|
|
|
{ cabal, aeson, aesonPretty, attoparsec, base64Bytestring
|
|
|
|
, blazeBuilder, caseInsensitive, HsOpenSSL, hspec
|
|
|
|
, hspecExpectations, httpCommon, HUnit, ioStreams
|
|
|
|
, MonadCatchIOTransformers, mtl, network, opensslStreams, snapCore
|
|
|
|
, snapServer, systemFileio, systemFilepath, text, transformers
|
|
|
|
, unorderedContainers
|
2014-01-11 23:13:27 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "http-streams";
|
2014-01-16 11:54:49 +01:00
|
|
|
version = "0.7.1.1";
|
|
|
|
sha256 = "0wh07gdb9w48mwsjvg07dq6gjvdm8ls654ki180r7p38v93rsmfx";
|
2014-01-11 23:13:27 +01:00
|
|
|
buildDepends = [
|
2014-01-16 11:54:49 +01:00
|
|
|
aeson attoparsec base64Bytestring blazeBuilder caseInsensitive
|
|
|
|
HsOpenSSL httpCommon ioStreams mtl network opensslStreams text
|
|
|
|
transformers unorderedContainers
|
2014-01-11 23:13:27 +01:00
|
|
|
];
|
|
|
|
testDepends = [
|
2014-01-16 11:54:49 +01:00
|
|
|
aeson aesonPretty attoparsec base64Bytestring blazeBuilder
|
|
|
|
caseInsensitive HsOpenSSL hspec hspecExpectations httpCommon HUnit
|
|
|
|
ioStreams MonadCatchIOTransformers mtl network opensslStreams
|
|
|
|
snapCore snapServer systemFileio systemFilepath text transformers
|
|
|
|
unorderedContainers
|
2014-01-11 23:13:27 +01:00
|
|
|
];
|
2014-01-16 11:54:49 +01:00
|
|
|
doCheck = false;
|
2014-01-11 23:13:27 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://research.operationaldynamics.com/projects/http-streams/";
|
|
|
|
description = "An HTTP client using io-streams";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|