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

23 lines
611 B
Nix
Raw Normal View History

2012-07-31 21:21:41 +00:00
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
buildPerlPackage rec {
name = "DBD-Pg-3.0.0";
2012-07-31 21:21:41 +00:00
src = fetchurl {
url = "mirror://cpan/authors/id/T/TU/TURNSTEP/${name}.tar.gz";
sha256 = "10s1dhpxxqfl421388l6gzfdm1gzxf5iah42i1w6yji9mgkz8hf8";
};
2012-07-31 21:21:41 +00:00
buildInputs = [ postgresql ];
propagatedBuildInputs = [ DBI ];
2012-07-31 21:21:41 +00:00
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
2012-07-31 21:21:41 +00:00
2013-01-18 23:02:51 +00:00
meta = {
homepage = http://search.cpan.org/dist/DBD-Pg/;
description = "DBI PostgreSQL interface";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
2013-01-18 23:02:51 +00:00
platforms = stdenv.lib.platforms.linux;
};
}