2011-08-19 16:12:25 +01:00
|
|
|
{ fetchurl, buildPerlPackage, DBI, postgresql }:
|
2009-04-28 12:57:34 +01:00
|
|
|
|
2011-08-19 16:12:25 +01:00
|
|
|
buildPerlPackage rec {
|
|
|
|
name = "DBD-Pg-2.18.1";
|
2009-04-28 12:57:34 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-19 16:12:25 +01:00
|
|
|
url = "mirror://cpan/modules/by-module/DBD/${name}.tar.gz";
|
|
|
|
sha256 = "10nrmi0hgc9h8c0jbpd9bbbzkdb1riymnlk7a86537c0d4gfqcpm";
|
2009-04-28 12:57:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [postgresql] ;
|
|
|
|
propagatedBuildInputs = [DBI];
|
|
|
|
|
|
|
|
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
|
|
|
|
}
|