mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
2c0bf029fb
svn path=/nixpkgs/branches/stdenv-updates/; revision=10606
15 lines
364 B
Nix
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];
|
|
}
|