nixpkgs/pkgs/development/libraries/haskell/RSA/default.nix
Peter Simons 468c5dbc5c The 'random' library is no longer a core library in GHC 7.2.1. For older
versions of the compiler, haskell-packages.nix provides a null attribute.

svn path=/nixpkgs/trunk/; revision=28500
2011-08-12 00:18:56 +00:00

20 lines
568 B
Nix

{ cabal, SHA, binary, pureMD5, random }:
cabal.mkDerivation (self: {
pname = "RSA";
version = "1.0.6.1";
sha256 = "1d0birzvapcsgay0wwh5v9mcd77sghj1bps9ws04ww9ga97gyp0l";
isLibrary = true;
isExecutable = true;
buildDepends = [ SHA binary pureMD5 random ];
meta = {
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
self.stdenv.lib.maintainers.simons
];
};
})