2013-12-24 16:27:45 +00:00
|
|
|
{ cabal, binary, cryptoApi, cryptoPubkeyTypes, DRBG
|
|
|
|
, monadcryptorandom, pureMD5, QuickCheck, SHA, tagged
|
|
|
|
, testFramework, testFrameworkQuickcheck2
|
2012-04-25 11:12:44 +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 = "RSA";
|
2013-12-24 16:27:45 +00:00
|
|
|
version = "2.0";
|
|
|
|
sha256 = "170bjcqd6q8q0c0idjpm9vgn02ifwxz1xvwp1l30qdf56293p4bq";
|
2012-04-25 11:12:44 +01:00
|
|
|
buildDepends = [
|
|
|
|
binary cryptoApi cryptoPubkeyTypes monadcryptorandom pureMD5 SHA
|
|
|
|
];
|
2013-12-24 16:27:45 +00:00
|
|
|
testDepends = [
|
|
|
|
binary cryptoApi cryptoPubkeyTypes DRBG pureMD5 QuickCheck SHA
|
|
|
|
tagged testFramework testFrameworkQuickcheck2
|
|
|
|
];
|
2014-01-08 15:51:24 +00:00
|
|
|
doCheck = false;
|
2011-08-07 23:51:22 +01:00
|
|
|
meta = {
|
2013-10-16 16:09:26 +01:00
|
|
|
description = "Implementation of RSA, using the padding schemes of PKCS#1 v2.1.";
|
2011-08-07 23:51:22 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
})
|