Revive old haskell-tls packages

tls-1.2 broke source-compatability

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2014-02-05 09:56:14 -05:00
parent da16a4b631
commit b8e06f3110
4 changed files with 53 additions and 1 deletions

View File

@ -0,0 +1,21 @@
{ cabal, certificate, cipherAes, cipherRc4, cryptohash
, cryptoPubkey, cryptoRandom, mtl, network, pem, time, tls, vector
}:
cabal.mkDerivation (self: {
pname = "tls-extra";
version = "0.6.6";
sha256 = "0k0sj3nq1lrvbmd582mjj8cxbxigivz1hm8hhij1ncl2pgnq5xyv";
isLibrary = true;
isExecutable = true;
buildDepends = [
certificate cipherAes cipherRc4 cryptohash cryptoPubkey
cryptoRandom mtl network pem time tls vector
];
meta = {
homepage = "http://github.com/vincenthz/hs-tls";
description = "TLS extra default values and helpers";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,25 @@
{ cabal, cereal, certificate, cprngAes, cryptohash, cryptoPubkey
, cryptoRandom, mtl, network, QuickCheck, testFramework
, testFrameworkQuickcheck2, time
}:
cabal.mkDerivation (self: {
pname = "tls";
version = "1.1.5";
sha256 = "1ja03x3i7dgjpy22h4shnni1xslph8i8q4accqq8njpqpz54c84c";
buildDepends = [
cereal certificate cryptohash cryptoPubkey cryptoRandom mtl network
];
testDepends = [
cereal certificate cprngAes cryptoPubkey cryptoRandom mtl
QuickCheck testFramework testFrameworkQuickcheck2 time
];
doCheck = false;
meta = {
homepage = "http://github.com/vincenthz/hs-tls";
description = "TLS/SSL protocol native implementation (Server and Client)";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -2347,7 +2347,13 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
timeCompat = callPackage ../development/libraries/haskell/time-compat {};
tls = callPackage ../development/libraries/haskell/tls {};
tls = callPackage ../development/libraries/haskell/tls/1.2.x.nix {};
tls_1_1_x = callPackage ../development/libraries/haskell/tls/1.1.x.nix {};
tlsExtra = callPackage ../development/libraries/haskell/tls-extra {
tls = self.tls_1_1_x;
};
transformers_0_2_2_0 = callPackage ../development/libraries/haskell/transformers/0.2.2.0.nix {};
transformers_0_3_0_0 = if (pkgs.stdenv.lib.versionOlder ghc.version "7.7") then