nixpkgs/pkgs/servers/sql/postgresql/8.4.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
559 B
Nix

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