nixpkgs/pkgs/development/perl-modules/DBD-Pg/default.nix
Eelco Dolstra 1c307015dc DBD::Pg: update to 2.19.2
Fixes CVE-2012-1151.
2012-07-26 11:44:08 -04:00

16 lines
384 B
Nix

{ fetchurl, buildPerlPackage, DBI, postgresql }:
buildPerlPackage rec {
name = "DBD-Pg-2.19.2";
src = fetchurl {
url = "mirror://cpan/modules/by-module/DBD/${name}.tar.gz";
sha256 = "0scnhbp0lfclbppbsfzmcyw32z8jhb9calvbg9q3gk4kli1119j9";
};
buildInputs = [ postgresql ];
propagatedBuildInputs = [ DBI ];
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
}