nixpkgs/pkgs/servers/sql/postgresql/8.3.x.nix
Eelco Dolstra 12ede4793f * 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
2010-06-21 20:43:05 +00:00

25 lines
564 B
Nix

{ stdenv, fetchurl, zlib, ncurses, readline }:
let version = "8.3.11"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
sha256 = "1nvjcsa0218849r2913mxia58cjgcw6rikkf1g7kmjb902lv3aw1";
};
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";
};
}