Revive old haskell-tls packages
tls-1.2 broke source-compatability Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
da16a4b631
commit
b8e06f3110
|
@ -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;
|
||||||
|
};
|
||||||
|
})
|
|
@ -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 ];
|
||||||
|
};
|
||||||
|
})
|
|
@ -2347,7 +2347,13 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
||||||
|
|
||||||
timeCompat = callPackage ../development/libraries/haskell/time-compat {};
|
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_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
|
transformers_0_3_0_0 = if (pkgs.stdenv.lib.versionOlder ghc.version "7.7") then
|
||||||
|
|
Loading…
Reference in New Issue