2012-02-16 15:05:41 +01:00
|
|
|
{ cabal, binary, pureMD5, random, SHA }:
|
2011-08-08 00:51:22 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-08 00:51:22 +02:00
|
|
|
pname = "RSA";
|
2011-09-21 18:47:07 +02:00
|
|
|
version = "1.0.6.2";
|
|
|
|
sha256 = "0sabvwzgjg6nv5m3x9cjpk5q62r8vhi3kn858ask15frsi7lzhwk";
|
2011-08-10 01:00:20 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2012-02-16 15:05:41 +01:00
|
|
|
buildDepends = [ binary pureMD5 random SHA ];
|
2011-08-08 00:51:22 +02:00
|
|
|
meta = {
|
|
|
|
description = "Implementation of RSA, using the padding schemes of PKCS#1 v2.1.";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-09 11:54:50 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2011-08-10 01:00:20 +02:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2011-08-08 00:51:22 +02:00
|
|
|
};
|
|
|
|
})
|