adding cvs zsh version because it has better hg, tg completion support

svn path=/nixpkgs/trunk/; revision=13670
This commit is contained in:
Marc Weber 2008-12-22 18:36:26 +00:00
parent 1b30419aa6
commit e4a6036ca9
3 changed files with 26 additions and 0 deletions

View file

@ -227,4 +227,8 @@
url = "http://mawercer.de/~nix/repos/octave-03b414516dd8.tar.gz";
sha256 = "28ca0be1407954e746909241bda95c5bf0a04f611e73100c1e3967ddc249c519";
};
zsh = args: with args; fetchurl { # Sun Dec 21 12:50:24 UTC 2008
url = "http://mawercer.de/~nix/repos/zsh-2008-12-21_12-50-23.tar.gz";
sha256 = "9af16f89205759d7ade51268dbdfa02cec3db10b35dc7a56ffe8e1fde2074ae7";
};
}

19
pkgs/shells/zsh/cvs.nix Normal file
View file

@ -0,0 +1,19 @@
args: with args;
# cvs does include docs
# the cvs snapshot is updated occasionally. see bleedingEdgeRepos
stdenv.mkDerivation {
name = "zsh-${version}";
src = sourceByName "zsh";
configureFlags = "--with-tcsetpgrp --enable-maildir-support --enable-multibyte";
preConfigure = "autoconf; autoheader";
postInstall = ''
ensureDir $out/share/
cp -R Doc $out/share
'';
buildInputs = [ncurses coreutils autoconf yodl ];
}

View file

@ -1378,6 +1378,9 @@ let
zsh = composedArgsAndFun (selectVersion ../shells/zsh "4.3.9") {
inherit fetchurl stdenv ncurses coreutils;
# for CVS:
inherit (bleedingEdgeRepos) sourceByName;
inherit autoconf yodl;
};