7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
15 hash = "sha256-Kl98S1S4Ds9TF3H1YOjwds38da++/5rpgO/oAfKwRrc=";
19 nativeBuildInputs = [ installShellFiles ];
24 install zsh-abbr.plugin.zsh zsh-abbr.zsh -Dt $out/share/zsh/zsh-abbr/
25 install completions/_abbr -Dt $out/share/zsh/zsh-abbr/completions/
27 # Required for `man` to find the manpage of abbr, since it looks via PATH
28 installManPage man/man1/*
34 homepage = "https://github.com/olets/zsh-abbr";
35 description = "Zsh manager for auto-expanding abbreviations, inspired by fish shell";
36 license = with licenses; [cc-by-nc-nd-40 hl3];
37 maintainers = with maintainers; [icy-thought];
38 platforms = platforms.all;