nixpkgs/pkgs/development/perl-modules/DBD-Pg/default.nix

18 lines
434 B
Nix
Raw Normal View History

2012-07-31 23:21:41 +02:00
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
buildPerlPackage rec {
name = "DBD-Pg-2.19.2";
2012-07-31 23:21:41 +02:00
src = fetchurl {
url = "mirror://cpan/modules/by-module/DBD/${name}.tar.gz";
sha256 = "0scnhbp0lfclbppbsfzmcyw32z8jhb9calvbg9q3gk4kli1119j9";
};
2012-07-31 23:21:41 +02:00
buildInputs = [ postgresql ];
propagatedBuildInputs = [ DBI ];
2012-07-31 23:21:41 +02:00
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
2012-07-31 23:21:41 +02:00
meta.platforms = stdenv.lib.platforms.linux;
}