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 {
|
2012-07-26 16:44:08 +01:00
|
|
|
name = "DBD-Pg-2.19.2";
|
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";
|
2012-07-26 16:44:08 +01:00
|
|
|
sha256 = "0scnhbp0lfclbppbsfzmcyw32z8jhb9calvbg9q3gk4kli1119j9";
|
2009-04-28 12:57:34 +01:00
|
|
|
};
|
|
|
|
|
2012-07-26 16:44:08 +01:00
|
|
|
buildInputs = [ postgresql ];
|
|
|
|
propagatedBuildInputs = [ DBI ];
|
2009-04-28 12:57:34 +01:00
|
|
|
|
|
|
|
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
|
|
|
|
}
|