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 {
|
2018-06-08 19:19:11 +02:00
|
|
|
name = "DBD-Pg-3.7.4";
|
2012-07-31 23:21:41 +02:00
|
|
|
|
2009-04-28 13:57:34 +02:00
|
|
|
src = fetchurl {
|
2014-04-07 14:04:49 +02:00
|
|
|
url = "mirror://cpan/authors/id/T/TU/TURNSTEP/${name}.tar.gz";
|
2018-06-08 19:19:11 +02:00
|
|
|
sha256 = "0gkqlvbmzbdm0g4k328nlkjdg3wrjm5i2n9jxj1i8sqxkm79rylz";
|
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
|
|
|
|
2018-05-31 11:42:12 +02:00
|
|
|
# tests freeze in a sandbox
|
|
|
|
doCheck = false;
|
|
|
|
|
2013-01-19 00:02:51 +01:00
|
|
|
meta = {
|
|
|
|
description = "DBI PostgreSQL interface";
|
2014-11-06 01:44:33 +01:00
|
|
|
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
2015-07-18 23:52:32 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-01-19 00:02:51 +01:00
|
|
|
};
|
2009-04-28 13:57:34 +02:00
|
|
|
}
|