2012-07-31 23:21:41 +02:00
|
|
|
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
|
2009-04-28 13:57:34 +02:00
|
|
|
|
2011-08-19 17:12:25 +02:00
|
|
|
buildPerlPackage rec {
|
2013-01-19 00:02:51 +01:00
|
|
|
name = "DBD-Pg-2.19.3";
|
2012-07-31 23:21:41 +02:00
|
|
|
|
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";
|
2013-01-19 00:02:51 +01:00
|
|
|
sha256 = "0ai6p2094hrh6kjlwfjvpw2z8wqa3scr4ba3p6rqza3z9c9hsd9p";
|
2009-04-28 13:57:34 +02:00
|
|
|
};
|
2012-07-31 23:21:41 +02:00
|
|
|
|
2012-07-26 17:44:08 +02:00
|
|
|
buildInputs = [ postgresql ];
|
|
|
|
propagatedBuildInputs = [ DBI ];
|
2012-07-31 23:21:41 +02:00
|
|
|
|
2009-04-28 13:57:34 +02:00
|
|
|
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
|
2012-07-31 23:21:41 +02:00
|
|
|
|
2013-01-19 00:02:51 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://search.cpan.org/dist/DBD-Pg/;
|
|
|
|
description = "DBI PostgreSQL interface";
|
|
|
|
license = "perl";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2009-04-28 13:57:34 +02:00
|
|
|
}
|