2012-08-01 01:21:41 +04:00
|
|
|
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
|
2009-04-28 15:57:34 +04:00
|
|
|
|
2011-08-19 19:12:25 +04:00
|
|
|
buildPerlPackage rec {
|
2015-11-05 16:42:34 +03:00
|
|
|
name = "DBD-Pg-3.5.3";
|
2012-08-01 01:21:41 +04:00
|
|
|
|
2009-04-28 15:57:34 +04:00
|
|
|
src = fetchurl {
|
2014-04-07 16:04:49 +04:00
|
|
|
url = "mirror://cpan/authors/id/T/TU/TURNSTEP/${name}.tar.gz";
|
2015-11-05 16:42:34 +03:00
|
|
|
sha256 = "03m9w1cd0yyrbqwkwcl92j1cpmasmm69f3hwvcrlfsi5fnwsk63y";
|
2009-04-28 15:57:34 +04:00
|
|
|
};
|
2012-08-01 01:21:41 +04:00
|
|
|
|
2012-07-26 19:44:08 +04:00
|
|
|
buildInputs = [ postgresql ];
|
|
|
|
propagatedBuildInputs = [ DBI ];
|
2012-08-01 01:21:41 +04:00
|
|
|
|
2009-04-28 15:57:34 +04:00
|
|
|
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
|
2012-08-01 01:21:41 +04:00
|
|
|
|
2013-01-19 03:02:51 +04:00
|
|
|
meta = {
|
|
|
|
homepage = http://search.cpan.org/dist/DBD-Pg/;
|
|
|
|
description = "DBI PostgreSQL interface";
|
2014-11-06 03:44:33 +03:00
|
|
|
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
2015-07-19 00:52:32 +03:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-01-19 03:02:51 +04:00
|
|
|
};
|
2009-04-28 15:57:34 +04:00
|
|
|
}
|