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

28 lines
895 B
Nix
Raw Normal View History

2013-12-24 17:27:45 +01:00
{ cabal, binary, cryptoApi, cryptoPubkeyTypes, DRBG
, monadcryptorandom, pureMD5, QuickCheck, SHA, tagged
, testFramework, testFrameworkQuickcheck2
}:
cabal.mkDerivation (self: {
pname = "RSA";
2014-07-07 11:21:05 +02:00
version = "2.0.0";
sha256 = "1v2d6sxpqr0lmiqdr3ym5qzp3p1y57yj6939vdlsac6k6ifj6pwq";
isLibrary = true;
isExecutable = true;
buildDepends = [
2014-07-07 11:21:05 +02:00
binary cryptoApi cryptoPubkeyTypes DRBG monadcryptorandom pureMD5
QuickCheck SHA tagged testFramework testFrameworkQuickcheck2
];
2013-12-24 17:27:45 +01:00
testDepends = [
binary cryptoApi cryptoPubkeyTypes DRBG pureMD5 QuickCheck SHA
tagged testFramework testFrameworkQuickcheck2
];
doCheck = false;
meta = {
2013-10-16 17:09:26 +02:00
description = "Implementation of RSA, using the padding schemes of PKCS#1 v2.1.";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})