2700b62168
* grml-zsh-config: 0.12.4 -> 0.14.2 * grml-zsh-config: fix typo
41 lines
980 B
Nix
41 lines
980 B
Nix
{ stdenv, fetchFromGitHub, lib
|
|
, zsh, coreutils, inetutils, procps, txt2tags }:
|
|
|
|
with lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "grml-zsh-config-${version}";
|
|
version = "0.14.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "grml";
|
|
repo = "grml-etc-core";
|
|
rev = "v${version}";
|
|
sha256 = "1xvv2mnkfqa657w8y4q2zrchhindngdzij9fbalcg1gggz4zdwcm";
|
|
};
|
|
|
|
buildInputs = [ zsh coreutils inetutils procps txt2tags ];
|
|
|
|
buildPhase = ''
|
|
cd doc
|
|
make
|
|
cd ..
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -D -m644 etc/zsh/keephack $out/etc/zsh/keephack
|
|
install -D -m644 etc/zsh/zshrc $out/etc/zsh/zshrc
|
|
|
|
install -D -m644 doc/grmlzshrc.5 $out/share/man/man5/grmlzshrc.5
|
|
ln -s grmlzshrc.5.gz $out/share/man/man5/grml-zsh-config.5.gz
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "grml's zsh setup";
|
|
homepage = http://grml.org/zsh/;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ msteen rvolosatovs ];
|
|
};
|
|
}
|