nixpkgs/pkgs/servers/sql/postgresql/8.2.6.nix
Yury G. Kudryashov 2c0bf029fb Postgresql: 8.3.0 added, using selectVersion
svn path=/nixpkgs/branches/stdenv-updates/; revision=10606
2008-02-10 17:41:23 +00:00

15 lines
364 B
Nix

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];
}