1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/shells/zsh/default.nix
Nicolas Pierron 1664ec986a Update zsh.
svn path=/nixpkgs/trunk/; revision=19740
2010-01-31 12:13:38 +00:00

31 lines
694 B
Nix

{ stdenv, fetchurl, ncurses, coreutils }:
let
version = "4.3.10";
documentation = fetchurl {
url = "mirror://sourceforge/zsh/zsh-${version}-doc.tar.bz2";
sha256 = "f53d5c434fdb26fc79755279175514507eb1d11cf793ac57270d053ee61f37f9";
};
in
stdenv.mkDerivation {
name = "zsh-${version}";
src = fetchurl {
url = "mirror://sourceforge/zsh/zsh-${version}.tar.bz2";
sha256 = "63fdc0273eadbb42d164f38b0b79922c0b3df0e97084e746a318276d935a4f7c";
};
configureFlags = "--with-tcsetpgrp --enable-maildir-support --enable-multibyte";
postInstall = ''
ensureDir $out/share/
tar xf ${documentation} -C $out/share
'';
buildInputs = [ncurses coreutils];
}