1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:44:50 +00:00
nixpkgs/pkgs/development/perl-modules/DBD-Pg/default.nix

23 lines
610 B
Nix
Raw Normal View History

2012-07-31 22:21:41 +01:00
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
buildPerlPackage rec {
2015-11-05 13:42:34 +00:00
name = "DBD-Pg-3.5.3";
2012-07-31 22:21:41 +01:00
src = fetchurl {
url = "mirror://cpan/authors/id/T/TU/TURNSTEP/${name}.tar.gz";
2015-11-05 13:42:34 +00:00
sha256 = "03m9w1cd0yyrbqwkwcl92j1cpmasmm69f3hwvcrlfsi5fnwsk63y";
};
2012-07-31 22:21:41 +01:00
buildInputs = [ postgresql ];
propagatedBuildInputs = [ DBI ];
2012-07-31 22:21:41 +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";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
2015-07-18 22:52:32 +01:00
platforms = stdenv.lib.platforms.unix;
2013-01-18 23:02:51 +00:00
};
}