2014-01-29 10:45:07 +00:00
|
|
|
{ cabal, asn1Encoding, asn1Types, cereal, cipherAes, cipherRc4
|
|
|
|
, cprngAes, cryptohash, cryptoNumbers, cryptoPubkey
|
|
|
|
, cryptoPubkeyTypes, cryptoRandom, dataDefaultClass, mtl, network
|
|
|
|
, QuickCheck, testFramework, testFrameworkQuickcheck2, time, x509
|
|
|
|
, x509Store, x509Validation
|
2011-08-10 00:00:20 +01:00
|
|
|
}:
|
2011-08-07 23:51:22 +01:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-07 23:51:22 +01:00
|
|
|
pname = "tls";
|
2014-01-29 10:45:07 +00:00
|
|
|
version = "1.2.2";
|
|
|
|
sha256 = "156l859mfpdax5rg1frwa5ms5bzggaja0mi795hh8i5c3ah7hfcp";
|
2011-08-10 00:00:20 +01:00
|
|
|
buildDepends = [
|
2014-01-29 10:45:07 +00:00
|
|
|
asn1Encoding asn1Types cereal cipherAes cipherRc4 cryptohash
|
|
|
|
cryptoNumbers cryptoPubkey cryptoPubkeyTypes cryptoRandom
|
|
|
|
dataDefaultClass mtl network x509 x509Store x509Validation
|
2011-08-07 23:51:22 +01:00
|
|
|
];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [
|
2014-01-29 10:45:07 +00:00
|
|
|
cereal cprngAes cryptoPubkey cryptoRandom dataDefaultClass mtl
|
|
|
|
QuickCheck testFramework testFrameworkQuickcheck2 time x509
|
|
|
|
x509Validation
|
2013-02-24 21:09:07 +00:00
|
|
|
];
|
2013-02-24 22:33:12 +00:00
|
|
|
doCheck = false;
|
2011-08-07 23:51:22 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/vincenthz/hs-tls";
|
|
|
|
description = "TLS/SSL protocol native implementation (Server and Client)";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 10:54:50 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-08-07 23:51:22 +01:00
|
|
|
};
|
|
|
|
})
|