From 82cbbb17592db26be49cbfdcd4e8de8cd64fb6d1 Mon Sep 17 00:00:00 2001 From: vi Date: Sun, 15 Jun 2014 17:48:18 +0800 Subject: [PATCH] Added CPAN's Crypt::OpenSSL::Bignum. --- pkgs/top-level/perl-packages.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 73b5d3232383..81cbf0e7bdc8 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -1787,6 +1787,16 @@ let self = _self // overrides; _self = with self; { }; }; + CryptOpenSSLBignum = buildPerlPackage rec { + name = "Crypt-OpenSSL-Bignum-0.04"; + src = fetchurl { + url = "mirror://cpan/authors/id/I/IR/IROBERTS/${name}.tar.gz"; + sha256 = "18vg2bqyhc0ahfdh5dkbgph5nh92qcz5vi99jq8aam4h86if78bk"; + }; + NIX_CFLAGS_COMPILE = "-I${pkgs.openssl}/include"; + NIX_CFLAGS_LINK = "-L${pkgs.openssl}/lib -lcrypto"; + }; + CryptOpenSSLRandom = buildPerlPackage rec { name = "Crypt-OpenSSL-Random-0.06"; src = fetchurl {