Postgresql: 8.3.0 added, using selectVersion

svn path=/nixpkgs/branches/stdenv-updates/; revision=10606
This commit is contained in:
Yury G. Kudryashov 2008-02-10 17:41:23 +00:00
parent 5a69612d68
commit 2c0bf029fb
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,14 @@
args: with args;
stdenv.mkDerivation rec {
name = "postgresql-" + version;
LC_ALL = "en_US";
src = fetchurl {
url = "ftp://ftp.de.postgresql.org/mirror/postgresql/source/v${version}/${name}.tar.bz2";
sha256="056ixbsfmdwhniryc0mr1kl66jywkqqhqvjdi7i3v4qzh9z34hgf";
};
passthru = { inherit readline; };
buildInputs = [zlib ncurses readline];
}

View File

@ -0,0 +1,14 @@
args: with args;
stdenv.mkDerivation rec {
name = "postgresql-" + version;
LC_ALL = "en_US";
src = fetchurl {
url = "ftp://ftp.de.postgresql.org/mirror/postgresql/source/v${version}/${name}.tar.bz2";
sha256="19kf0q45d5zd1rxffin0iblizckk8cp6fpgb52sipqkpnmm6sdc5";
};
passthru = { inherit readline; };
buildInputs = [zlib ncurses readline];
}

View File

@ -3236,7 +3236,7 @@ rec {
inherit fetchurl stdenv openssh;
};
postgresql = import ../servers/sql/postgresql {
postgresql = selectVersion ../servers/sql/postgresql "8.3.0" {
inherit fetchurl stdenv readline ncurses zlib;
};