forked from mirrors/nixpkgs
* Postgres updated to 8.3.8 and 8.4.1. Dropped the "with args" and
"version" argument. Added a few Postgres mirrors. svn path=/nixpkgs/trunk/; revision=17804
This commit is contained in:
parent
18439774f8
commit
c5b198300d
|
@ -257,4 +257,10 @@ rec {
|
|||
http://archive.apache.org/dist/ # fallback for old releases
|
||||
];
|
||||
|
||||
postgresql = [
|
||||
http://ftp2.nl.postgresql.org/
|
||||
ftp://ftp.nl.postgresql.org/pub/mirror/postgresql/
|
||||
ftp://ftp.postgresql.org/pub/
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
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];
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
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];
|
||||
}
|
24
pkgs/servers/sql/postgresql/8.3.x.nix
Normal file
24
pkgs/servers/sql/postgresql/8.3.x.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, zlib, ncurses, readline }:
|
||||
|
||||
let version = "8.3.8"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "postgresql-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
||||
sha256 = "09b0q8fd32hiawiwp0512l25vmhkn6fl3dzrk4g9nwpwcdj5d67s";
|
||||
};
|
||||
|
||||
buildInputs = [zlib ncurses readline];
|
||||
|
||||
LC_ALL = "en_US";
|
||||
|
||||
passthru = { inherit readline; };
|
||||
|
||||
meta = {
|
||||
homepage = http://www.postgresql.org/;
|
||||
description = "A powerful, open source object-relational database system";
|
||||
license = "bsd";
|
||||
};
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "postgresql-" + version;
|
||||
LC_ALL = "en_US";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.nl.postgresql.org/pub/mirror/postgresql/source/v${version}/${name}.tar.bz2";
|
||||
sha256="01z00pgp2dmp02dq6hnsidzvkp19gwjby0xvfpwgvd2xljs57gw4";
|
||||
};
|
||||
|
||||
passthru = { inherit readline; };
|
||||
buildInputs = [zlib ncurses readline];
|
||||
}
|
24
pkgs/servers/sql/postgresql/8.4.x.nix
Normal file
24
pkgs/servers/sql/postgresql/8.4.x.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, zlib, ncurses, readline }:
|
||||
|
||||
let version = "8.4.1"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "postgresql-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
||||
sha256 = "0z4xznaba13d00hfhzaj0xja92inc5gwp1bpk4n6l6ga782sbxc5";
|
||||
};
|
||||
|
||||
buildInputs = [zlib ncurses readline];
|
||||
|
||||
LC_ALL = "en_US";
|
||||
|
||||
passthru = { inherit readline; };
|
||||
|
||||
meta = {
|
||||
homepage = http://www.postgresql.org/;
|
||||
description = "A powerful, open source object-relational database system";
|
||||
license = "bsd";
|
||||
};
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
source $stdenv/setup
|
||||
|
||||
export LANG=en_US
|
||||
|
||||
# configureFlags=""
|
||||
# if test "$jdbcSupport"; then
|
||||
# configureFlags="--with-java $configureFlags"
|
||||
# fi
|
||||
|
||||
genericBuild
|
|
@ -1,25 +0,0 @@
|
|||
{stdenv, fetchurl, zlib, ncurses, readline}:
|
||||
|
||||
assert zlib != null;
|
||||
assert ncurses != null;
|
||||
assert readline != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "postgresql-8.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://ftp2.nl.postgresql.org/source/v8.3.0/postgresql-8.3.0.tar.bz2;
|
||||
sha256 = "19kf0q45d5zd1rxffin0iblizckk8cp6fpgb52sipqkpnmm6sdc5";
|
||||
};
|
||||
|
||||
inherit readline;
|
||||
|
||||
buildInputs = [zlib ncurses readline];
|
||||
|
||||
LANG = "en_US"; # is this needed anymore?
|
||||
|
||||
meta = {
|
||||
description = "The world's most advanced open source database";
|
||||
homepage = http://www.postgresql.org/;
|
||||
};
|
||||
}
|
|
@ -4958,11 +4958,13 @@ let
|
|||
inherit builderDefs jre;
|
||||
};
|
||||
|
||||
postgresql = selectVersion ../servers/sql/postgresql "8.3.0" {
|
||||
postgresql = postgresql83;
|
||||
|
||||
postgresql83 = import ../servers/sql/postgresql/8.3.x.nix {
|
||||
inherit fetchurl stdenv readline ncurses zlib;
|
||||
};
|
||||
|
||||
postgresql84 = selectVersion ../servers/sql/postgresql "8.4.0" {
|
||||
postgresql84 = import ../servers/sql/postgresql/8.4.x.nix {
|
||||
inherit fetchurl stdenv readline ncurses zlib;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue