nixpkgs-suyu/pkgs/development/perl-modules/DBD-Pg/default.nix

25 lines
608 B
Nix
Raw Normal View History

2012-07-31 23:21:41 +02:00
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
buildPerlPackage rec {
name = "DBD-Pg-3.7.4";
2012-07-31 23:21:41 +02:00
src = fetchurl {
url = "mirror://cpan/authors/id/T/TU/TURNSTEP/${name}.tar.gz";
sha256 = "0gkqlvbmzbdm0g4k328nlkjdg3wrjm5i2n9jxj1i8sqxkm79rylz";
};
2012-07-31 23:21:41 +02:00
buildInputs = [ postgresql ];
propagatedBuildInputs = [ DBI ];
2012-07-31 23:21:41 +02:00
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
2012-07-31 23:21:41 +02:00
# tests freeze in a sandbox
doCheck = false;
2013-01-19 00:02:51 +01:00
meta = {
description = "DBI PostgreSQL interface";
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
};
}