nixpkgs/pkgs/development/perl-modules/DBD-Pg/default.nix
Eelco Dolstra c64b8dac12 * DBIx::Class and related updates.
svn path=/nixpkgs/trunk/; revision=28689
2011-08-19 15:12:25 +00:00

15 lines
381 B
Nix

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