* Added PostgreSQL 9.1.2. Updated PostgreSQL to 8.3.17 and 8.4.10.

svn path=/nixpkgs/trunk/; revision=32475
This commit is contained in:
Eelco Dolstra 2012-02-22 16:40:10 +00:00
parent d04350281f
commit 476ece2de0
4 changed files with 35 additions and 4 deletions

View File

@ -1,13 +1,13 @@
{ stdenv, fetchurl, zlib, ncurses, readline }:
let version = "8.3.16"; in
let version = "8.3.17"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
sha256 = "0i17da3jz44y2xikp99qs0dac9j84hghr8rg5n7hr86ippi90180";
sha256 = "0xq8yg8qwd4qvjk6764argaxl6fribyf1xnxmdsk4xfcmgmfw5gv";
};
buildInputs = [ zlib ncurses readline ];

View File

@ -1,13 +1,13 @@
{ stdenv, fetchurl, zlib, ncurses, readline }:
let version = "8.4.9"; in
let version = "8.4.10"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
sha256 = "12n3x2q444hfhy9nbl14yfhd58im86jmlb9b0ihqzbmq1j6wnn0x";
sha256 = "1yvwn2qpn2dpgfi496r1zl8b8xy52lb2pprg076pvc37sklq77vl";
};
buildInputs = [ zlib ncurses readline ];

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, zlib, readline }:
let version = "9.1.2"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
sha256 = "0c6vwlfxppjvrikqfq6s87sxmxxvsx1qq03bwgk589sv9x8zym4d";
};
buildInputs = [ zlib readline ];
enableParallelBuilding = true;
LC_ALL = "C";
passthru = {
inherit readline;
psqlSchema = "9.0";
};
meta = {
homepage = http://www.postgresql.org/;
description = "A powerful, open source object-relational database system";
license = "bsd";
};
}

View File

@ -5154,6 +5154,8 @@ let
postgresql90 = callPackage ../servers/sql/postgresql/9.0.x.nix { };
postgresql91 = callPackage ../servers/sql/postgresql/9.1.x.nix { };
postgresql_jdbc = callPackage ../servers/sql/postgresql/jdbc { };
pyIRCt = builderDefsPackage (import ../servers/xmpp/pyIRCt) {