summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/RSA/default.nix
blob: 173ddc3149525435ea541c1a72e5759c060d55a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ cabal, binary, pureMD5, random, SHA }:

cabal.mkDerivation (self: {
  pname = "RSA";
  version = "1.0.6.3";
  sha256 = "0lk3nsh6nvacv1xzrg2pxxhd5gglmy40dkb8a47c9r9px0q6yjpj";
  isLibrary = true;
  isExecutable = true;
  buildDepends = [ binary pureMD5 random SHA ];
  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 ];
  };
})