Added CPAN's Crypt::DH, and its dependencies.

This commit is contained in:
vi 2014-06-15 17:47:30 +08:00 committed by Bjørn Forsman
parent f6b2155ef4
commit 174f1dac9e

View File

@ -1684,6 +1684,15 @@ let self = _self // overrides; _self = with self; {
buildInputs = [CryptCBC];
};
CryptDH = buildPerlPackage rec {
name = "Crypt-DH-0.07";
src = fetchurl {
url = "mirror://cpan/authors/id/M/MI/MITHALDU/${name}.tar.gz";
sha256 = "0pvzlgwpx8fzdy64ki15155vhsj30i9zxmw6i4p7irh17d1g7368";
};
buildInputs = [ MathBigInt MathBigIntGMP ];
};
CryptDHGMP = buildPerlPackage rec {
name = "Crypt-DH-GMP-0.00012";
src = fetchurl {
@ -5060,6 +5069,27 @@ let self = _self // overrides; _self = with self; {
};
};
MathBigInt = buildPerlPackage rec {
name ="Math-BigInt-1.9993";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PJ/PJACKLAM/${name}.tar.gz";
sha256 = "0zmzd4d2sjnhg5cdnqvqj78w5dkickszlxv1csdxsgdvmz8w0dyr";
};
};
MathBigIntGMP = buildPerlPackage rec {
name = "Math-BigInt-GMP-1.38";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PJ/PJACKLAM/${name}.tar.gz";
sha256 = "05bg10gg3ksn4h08yyyj7f31rqhdqap8d0jsbq61b3x0274wml0s";
};
buildInputs = [ pkgs.gmp ];
doCheck = false;
NIX_CFLAGS_COMPILE = "-I${pkgs.gmp}/include";
NIX_CFLAGS_LINK = "-L${pkgs.gmp}/lib -lgmp";
};
MathClipper = buildPerlModule rec {
name = "Math-Clipper-1.22";
src = fetchurl {