mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
18 lines
434 B
Nix
18 lines
434 B
Nix
{ stdenv, fetchurl, buildPerlPackage, DBI, postgresql }:
|
|
|
|
buildPerlPackage rec {
|
|
name = "DBD-Pg-2.19.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://cpan/modules/by-module/DBD/${name}.tar.gz";
|
|
sha256 = "0scnhbp0lfclbppbsfzmcyw32z8jhb9calvbg9q3gk4kli1119j9";
|
|
};
|
|
|
|
buildInputs = [ postgresql ];
|
|
propagatedBuildInputs = [ DBI ];
|
|
|
|
makeMakerFlags = "POSTGRES_HOME=${postgresql}";
|
|
|
|
meta.platforms = stdenv.lib.platforms.linux;
|
|
}
|