mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
007f80c1d0
Should eval cleanly, as far as -A tarball tells me. Relevant: issue #2999, issue #739
23 lines
611 B
Nix
23 lines
611 B
Nix
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
|
|
|
|
buildPerlPackage rec {
|
|
name = "DBD-Pg-3.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://cpan/authors/id/T/TU/TURNSTEP/${name}.tar.gz";
|
|
sha256 = "10s1dhpxxqfl421388l6gzfdm1gzxf5iah42i1w6yji9mgkz8hf8";
|
|
};
|
|
|
|
buildInputs = [ postgresql ];
|
|
propagatedBuildInputs = [ DBI ];
|
|
|
|
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
|
|
|
|
meta = {
|
|
homepage = http://search.cpan.org/dist/DBD-Pg/;
|
|
description = "DBI PostgreSQL interface";
|
|
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|