1 { stdenv, fetchFromGitHub, lib, zsh, coreutils, inetutils, procps, txt2tags }:
2 stdenv.mkDerivation rec {
3 pname = "grml-zsh-config";
6 src = fetchFromGitHub {
8 repo = "grml-etc-core";
10 sha256 = "sha256-XHuoafb1Wc8dUPrk/7jwYhlRQm76qcbQy2vHECm0Iuo=";
14 nativeBuildInputs = [ txt2tags ];
15 buildInputs = [ zsh coreutils procps ]
16 ++ lib.optional stdenv.hostPlatform.isLinux inetutils;
25 install -D -m644 etc/zsh/keephack $out/etc/zsh/keephack
26 install -D -m644 etc/zsh/zshrc $out/etc/zsh/zshrc
28 install -D -m644 doc/grmlzshrc.5 $out/share/man/man5/grmlzshrc.5
29 ln -s grmlzshrc.5.gz $out/share/man/man5/grml-zsh-config.5.gz
33 description = "grml's zsh setup";
34 homepage = "https://grml.org/zsh/";
35 license = with licenses; [ gpl2Plus gpl2Only ];
36 platforms = platforms.unix;
37 maintainers = with maintainers; [ msteen rvolosatovs ];