2012-07-31 22:21:41 +01:00
|
|
|
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
|
2009-04-28 12:57:34 +01:00
|
|
|
|
2011-08-19 16:12:25 +01:00
|
|
|
buildPerlPackage rec {
|
2014-04-07 13:04:49 +01:00
|
|
|
name = "DBD-Pg-3.0.0";
|
2012-07-31 22:21:41 +01:00
|
|
|
|
2009-04-28 12:57:34 +01:00
|
|
|
src = fetchurl {
|
2014-04-07 13:04:49 +01:00
|
|
|
url = "mirror://cpan/authors/id/T/TU/TURNSTEP/${name}.tar.gz";
|
|
|
|
sha256 = "10s1dhpxxqfl421388l6gzfdm1gzxf5iah42i1w6yji9mgkz8hf8";
|
2009-04-28 12:57:34 +01:00
|
|
|
};
|
2012-07-31 22:21:41 +01:00
|
|
|
|
2012-07-26 16:44:08 +01:00
|
|
|
buildInputs = [ postgresql ];
|
|
|
|
propagatedBuildInputs = [ DBI ];
|
2012-07-31 22:21:41 +01:00
|
|
|
|
2009-04-28 12:57:34 +01:00
|
|
|
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
|
2012-07-31 22:21:41 +01:00
|
|
|
|
2013-01-18 23:02:51 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://search.cpan.org/dist/DBD-Pg/;
|
|
|
|
description = "DBI PostgreSQL interface";
|
2014-07-28 19:51:40 +01:00
|
|
|
license = "perl";
|
2013-01-18 23:02:51 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2009-04-28 12:57:34 +01:00
|
|
|
}
|