about summary refs log tree commit diff
path: root/pkgs/shells/zsh/zsh-abbr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shells/zsh/zsh-abbr/default.nix')
-rw-r--r--pkgs/shells/zsh/zsh-abbr/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/shells/zsh/zsh-abbr/default.nix b/pkgs/shells/zsh/zsh-abbr/default.nix
index 668637ef1cc6a..795410a8329fe 100644
--- a/pkgs/shells/zsh/zsh-abbr/default.nix
+++ b/pkgs/shells/zsh/zsh-abbr/default.nix
@@ -5,24 +5,27 @@
 }:
 stdenv.mkDerivation rec {
   pname = "zsh-abbr";
-  version = "5.4.1";
+  version = "5.8.0";
 
   src = fetchFromGitHub {
     owner = "olets";
     repo = "zsh-abbr";
     rev = "v${version}";
-    hash = "sha256-gEBGMVR1lMVKNPVuPjtdPkgOXI1MWO0EAtk7JRmS0Ok=";
+    hash = "sha256-bsacP1f1daSYfgMvXduWQ64JJXnrFiLYURENKSMA9LM=";
   };
 
   strictDeps = true;
 
   installPhase = ''
     install -D zsh-abbr.zsh $out/share/zsh/${pname}/abbr.plugin.zsh
+    # Needed so that `man` can find the manpage, since it looks via PATH
+    mkdir -p $out/bin
+    mv man $out/share/man
   '';
 
   meta = with lib; {
     homepage = "https://github.com/olets/zsh-abbr";
-    description = "The zsh manager for auto-expanding abbreviations, inspired by fish shell";
+    description = "Zsh manager for auto-expanding abbreviations, inspired by fish shell";
     license = with licenses; [cc-by-nc-nd-40 hl3];
     maintainers = with maintainers; [icy-thought];
     platforms = platforms.all;