2012-04-25 10:12:44 +00:00
|
|
|
{ cabal, binary, cryptoApi, cryptoPubkeyTypes, monadcryptorandom
|
|
|
|
, pureMD5, SHA
|
|
|
|
}:
|
2011-08-07 22:51:22 +00:00
|
|
|
|
2011-08-09 23:00:20 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-07 22:51:22 +00:00
|
|
|
pname = "RSA";
|
2012-11-17 10:39:25 +00:00
|
|
|
version = "1.2.2.0";
|
|
|
|
sha256 = "0x4an1060slppyccf18isqrdl548ll33xzzqch3qxg285a0mm12m";
|
2011-08-09 23:00:20 +00:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2012-04-25 10:12:44 +00:00
|
|
|
buildDepends = [
|
|
|
|
binary cryptoApi cryptoPubkeyTypes monadcryptorandom pureMD5 SHA
|
|
|
|
];
|
2011-08-07 22:51:22 +00:00
|
|
|
meta = {
|
|
|
|
description = "Implementation of RSA, using the padding schemes of PKCS#1 v2.1.";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 09:54:50 +00:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-03-24 10:21:28 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-08-07 22:51:22 +00:00
|
|
|
};
|
|
|
|
})
|