2011-08-19 17:12:25 +02:00
|
|
|
{ fetchurl, buildPerlPackage, DBI, postgresql }:
|
2009-04-28 13:57:34 +02:00
|
|
|
|
2011-08-19 17:12:25 +02:00
|
|
|
buildPerlPackage rec {
|
2012-07-26 17:44:08 +02:00
|
|
|
name = "DBD-Pg-2.19.2";
|
2009-04-28 13:57:34 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-19 17:12:25 +02:00
|
|
|
url = "mirror://cpan/modules/by-module/DBD/${name}.tar.gz";
|
2012-07-26 17:44:08 +02:00
|
|
|
sha256 = "0scnhbp0lfclbppbsfzmcyw32z8jhb9calvbg9q3gk4kli1119j9";
|
2009-04-28 13:57:34 +02:00
|
|
|
};
|
|
|
|
|
2012-07-26 17:44:08 +02:00
|
|
|
buildInputs = [ postgresql ];
|
|
|
|
propagatedBuildInputs = [ DBI ];
|
2009-04-28 13:57:34 +02:00
|
|
|
|
|
|
|
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
|
|
|
|
}
|