nixpkgs/pkgs/servers/sql/postgresql/9.2.x.nix
Shea Levy a32e208ded Set psqlSchema properly for postgres 9.2.x
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-04-05 07:48:44 -04:00

34 lines
673 B
Nix

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