summary refs log tree commit diff
path: root/pkgs/development/perl-modules/DBD-Pg/default.nix
blob: 29a1da9c7acb229842663f386a3ed0e77b5ee6d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ fetchurl, buildPerlPackage, DBI, postgresql }:

buildPerlPackage rec {
  name = "DBD-Pg-2.18.1";
  
  src = fetchurl {
    url = "mirror://cpan/modules/by-module/DBD/${name}.tar.gz";
    sha256 = "10nrmi0hgc9h8c0jbpd9bbbzkdb1riymnlk7a86537c0d4gfqcpm";
  };
  
  buildInputs = [postgresql] ;
  propagatedBuildInputs = [DBI];
  
  makeMakerFlags = "POSTGRES_HOME=${postgresql}";
}