nixpkgs-suyu/pkgs/shells/zsh/grml-zsh-config/default.nix
R. RyanTM 67af5ba643 grml-zsh-config: 0.14.3 -> 0.15.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/grml-zsh-config/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- directory tree listing: https://gist.github.com/f301ffb4e2c7eb9a9e2a03bc7291a958
- du listing: https://gist.github.com/810ea8b2fb0bfc9f2bd5eee5e90fce2a
2018-06-08 08:06:37 -07:00

41 lines
1,014 B
Nix

{ stdenv, fetchFromGitHub, lib
, zsh, coreutils, inetutils, procps, txt2tags }:
with lib;
stdenv.mkDerivation rec {
name = "grml-zsh-config-${version}";
version = "0.15.0";
src = fetchFromGitHub {
owner = "grml";
repo = "grml-etc-core";
rev = "v${version}";
sha256 = "0a39m7rlf30r0ja56mmhidqbalck8f5gkmgngcvkxy3n486xxmkm";
};
buildInputs = [ zsh coreutils txt2tags procps ]
++ optional stdenv.isLinux [ inetutils ];
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.unix;
maintainers = with maintainers; [ msteen rvolosatovs ];
};
}