2011-08-12 02:18:56 +02:00
|
|
|
{ cabal, SHA, binary, pureMD5, random }:
|
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";
|
|
|
|
version = "1.0.6.1";
|
|
|
|
sha256 = "1d0birzvapcsgay0wwh5v9mcd77sghj1bps9ws04ww9ga97gyp0l";
|
2011-08-10 01:00:20 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2011-08-12 02:18:56 +02:00
|
|
|
buildDepends = [ SHA binary pureMD5 random ];
|
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
|
|
|
};
|
|
|
|
})
|