Merge pull request #1524 from ocharles/haskellPackages.httpStreams

haskellPackages.httpStreams: New expression
This commit is contained in:
Peter Simons
2014-01-15 02:51:10 -08:00
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
{ cabal, attoparsec, base64Bytestring, blazeBuilder
, caseInsensitive, HsOpenSSL, hspec, hspecExpectations, HUnit
, ioStreams, MonadCatchIOTransformers, mtl, network, opensslStreams
, snapCore, snapServer, systemFileio, systemFilepath, text
, transformers, unorderedContainers
}:
cabal.mkDerivation (self: {
pname = "http-streams";
version = "0.6.0.1";
sha256 = "1q76zl3fjh2irxaxilirjj2a58mg3c49vvm30xms0cdil9339h7d";
buildDepends = [
attoparsec base64Bytestring blazeBuilder caseInsensitive HsOpenSSL
ioStreams mtl network opensslStreams text transformers
unorderedContainers
];
testDepends = [
attoparsec base64Bytestring blazeBuilder caseInsensitive HsOpenSSL
hspec hspecExpectations HUnit ioStreams MonadCatchIOTransformers
mtl network opensslStreams snapCore snapServer systemFileio
systemFilepath text transformers unorderedContainers
];
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;
};
doCheck = false;
})

View File

@@ -0,0 +1,19 @@
{ cabal, HsOpenSSL, HUnit, ioStreams, network, testFramework
, testFrameworkHunit
}:
cabal.mkDerivation (self: {
pname = "openssl-streams";
version = "1.1.0.0";
sha256 = "0xww3n1mhw0sp9nkx4847gqbq4wnfcnc2m782kn5n8jxnjnm1fqn";
buildDepends = [ HsOpenSSL ioStreams network ];
testDepends = [
HsOpenSSL HUnit ioStreams network testFramework testFrameworkHunit
];
meta = {
description = "OpenSSL network support for io-streams";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
doCheck = false;
})