1 { stdenv, fetchFromGitHub, lib
2 , zsh, coreutils, inetutils, procps, txt2tags }:
6 stdenv.mkDerivation rec {
7 pname = "grml-zsh-config";
10 src = fetchFromGitHub {
12 repo = "grml-etc-core";
14 sha256 = "sha256-XHuoafb1Wc8dUPrk/7jwYhlRQm76qcbQy2vHECm0Iuo=";
18 nativeBuildInputs = [ txt2tags ];
19 buildInputs = [ zsh coreutils procps ]
20 ++ optional stdenv.isLinux inetutils;
29 install -D -m644 etc/zsh/keephack $out/etc/zsh/keephack
30 install -D -m644 etc/zsh/zshrc $out/etc/zsh/zshrc
32 install -D -m644 doc/grmlzshrc.5 $out/share/man/man5/grmlzshrc.5
33 ln -s grmlzshrc.5.gz $out/share/man/man5/grml-zsh-config.5.gz
37 description = "grml's zsh setup";
38 homepage = "https://grml.org/zsh/";
39 license = with licenses; [ gpl2Plus gpl2Only ];
40 platforms = platforms.unix;
41 maintainers = with maintainers; [ msteen rvolosatovs ];