nixpkgs/pkgs/servers/sql/postgresql/9.2.x.nix

34 lines
673 B
Nix
Raw Normal View History

2012-12-19 13:16:10 +01:00
{ stdenv, fetchurl, zlib, readline }:
let version = "9.2.4"; in
2012-12-19 13:16:10 +01:00
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
sha256 = "14xfzw3hb2fn60c438v3j7wa65jjm2pnmx4qb4i4ji4am0cdjzfr";
2012-12-19 13:16:10 +01:00
};
buildInputs = [ zlib readline ];
enableParallelBuilding = true;
makeFlags = [ "world" ];
installTargets = [ "install-world" ];
2012-12-19 13:16:10 +01:00
LC_ALL = "C";
2012-12-19 13:16:10 +01:00
passthru = {
inherit readline;
psqlSchema = "9.2";
2012-12-19 13:16:10 +01:00
};
meta = {
homepage = http://www.postgresql.org/;
description = "A powerful, open source object-relational database system";
license = "bsd";
};
}