mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
c0e46e52ba
svn path=/nixpkgs/trunk/; revision=16956
15 lines
368 B
Nix
15 lines
368 B
Nix
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];
|
|
}
|