nixpkgs/pkgs/development/libraries/haskell/tls/default.nix

29 lines
910 B
Nix

{ cabal, cereal, certificate, cprngAes, cryptohash, cryptoPubkey
, cryptoRandomApi, mtl, network, QuickCheck, testFramework
, testFrameworkQuickcheck2, time
}:
cabal.mkDerivation (self: {
pname = "tls";
version = "1.1.2";
sha256 = "1vg1mnz6cxxgs48pbpjp4hwyvsysxyzvjfy4p1vd23lwc32cdjqg";
buildDepends = [
cereal certificate cryptohash cryptoPubkey cryptoRandomApi mtl
network
];
testDepends = [
cereal certificate cprngAes cryptoPubkey cryptoRandomApi 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
self.stdenv.lib.maintainers.simons
];
};
})