nixpkgs/pkgs/servers/sql/postgresql/default.nix
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00

19 lines
426 B
Nix

{stdenv, fetchurl, zlib, ncurses, readline}:
assert zlib != null;
assert ncurses != null;
assert readline != null;
stdenv.mkDerivation {
name = "postgresql-8.0.6";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp2.nl.postgresql.org/mirror/postgresql/source/v8.0.6/postgresql-8.0.6.tar.bz2;
md5 = "f3b27b8171267f9a87592f931c09f0ee";
};
inherit readline;
buildInputs = [zlib ncurses readline];
}