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
commit b2b0d7f672
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;
})

View file

@ -1378,6 +1378,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
httpDate = callPackage ../development/libraries/haskell/http-date {};
httpStreams = callPackage ../development/libraries/haskell/http-streams {};
httpTypes = callPackage ../development/libraries/haskell/http-types {};
HUnit_1_2_0_3 = callPackage ../development/libraries/haskell/HUnit/1.2.0.3.nix {};
@ -1724,6 +1726,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
OpenGLRaw_1_4_0_0 = callPackage ../development/libraries/haskell/OpenGLRaw/1.4.0.0.nix {};
OpenGLRaw = self.OpenGLRaw_1_4_0_0;
opensslStreams = callPackage ../development/libraries/haskell/openssl-streams {};
operational = callPackage ../development/libraries/haskell/operational {};
optparseApplicative = callPackage ../development/libraries/haskell/optparse-applicative {};