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

23 lines
567 B
Nix
Raw Normal View History

2012-07-31 21:21:41 +00:00
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
buildPerlPackage rec {
2013-01-18 23:02:51 +00:00
name = "DBD-Pg-2.19.3";
2012-07-31 21:21:41 +00:00
src = fetchurl {
url = "mirror://cpan/modules/by-module/DBD/${name}.tar.gz";
2013-01-18 23:02:51 +00:00
sha256 = "0ai6p2094hrh6kjlwfjvpw2z8wqa3scr4ba3p6rqza3z9c9hsd9p";
};
2012-07-31 21:21:41 +00:00
buildInputs = [ postgresql ];
propagatedBuildInputs = [ DBI ];
2012-07-31 21:21:41 +00:00
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
2012-07-31 21:21:41 +00:00
2013-01-18 23:02:51 +00:00
meta = {
homepage = http://search.cpan.org/dist/DBD-Pg/;
description = "DBI PostgreSQL interface";
license = "perl";
platforms = stdenv.lib.platforms.linux;
};
}