* Add ftp-archives.postgresql.org as a fallback for PostgreSQL

downloads.
* PostgreSQL updated to 8.3.11, 8.4.4.  

svn path=/nixpkgs/trunk/; revision=22365
This commit is contained in:
Eelco Dolstra 2010-06-21 20:43:05 +00:00
parent 99a94a777b
commit 12ede4793f
3 changed files with 7 additions and 6 deletions

View File

@ -244,6 +244,7 @@ rec {
http://ftp2.nl.postgresql.org/ http://ftp2.nl.postgresql.org/
ftp://ftp.nl.postgresql.org/pub/mirror/postgresql/ ftp://ftp.nl.postgresql.org/pub/mirror/postgresql/
ftp://ftp.postgresql.org/pub/ ftp://ftp.postgresql.org/pub/
ftp://ftp-archives.postgresql.org/pub/
]; ];
} }

View File

@ -1,13 +1,13 @@
{ stdenv, fetchurl, zlib, ncurses, readline }: { stdenv, fetchurl, zlib, ncurses, readline }:
let version = "8.3.9"; in let version = "8.3.11"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "postgresql-${version}"; name = "postgresql-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2"; url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
sha256 = "08z6p3hha0v5841kzz5mhz1gsyvriijssx5p8bah8cvw4i00xcaw"; sha256 = "1nvjcsa0218849r2913mxia58cjgcw6rikkf1g7kmjb902lv3aw1";
}; };
buildInputs = [ zlib ncurses readline ]; buildInputs = [ zlib ncurses readline ];

View File

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