diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix new file mode 100644 index 000000000000..38ab33171467 --- /dev/null +++ b/pkgs/shells/zsh/default.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl, coreutils, ncurses}: +stdenv.mkDerivation { + name = "zsh"; + + src = fetchurl { + url = ftp://nephtys.lip6.fr/pub/unix/shells/zsh/zsh-4.2.3.tar.bz2; + md5 = "ae19a74ae7e84cf4dbd8e35f52c8ec74"; + }; + + configureFlags = "--with-tcsetpgrp"; + + buildInputs = [ncurses coreutils ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f20dfa8fcfb7..787d194b1960 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -626,6 +626,10 @@ rec { inherit fetchurl stdenv ncurses; }; + zsh = import ../shells/zsh { + inherit fetchurl stdenv ncurses coreutils; + }; + ### DEVELOPMENT / COMPILERS