{ lib, stdenvNoCC, fetchFromGitHub, }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "zsh-autosuggestions-abbreviations-strategy"; version = "1.1.2"; src = fetchFromGitHub { owner = "olets"; repo = "zsh-autosuggestions-abbreviations-strategy"; rev = "v${finalAttrs.version}"; hash = "sha256-eW3k183Y3+FERw5VHKf/T0huJl9hfMY+6Wu/WifI7gw="; }; installPhase = '' runHook preInstall install *.zsh -Dt "$out/share/zsh/site-functions/" runHook postInstall ''; meta = { description = "Have zsh-autosuggestions suggest your zsh-abbr abbreviations"; homepage = "https://github.com/olets/zsh-autosuggestions-abbreviations-strategy"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ llakala ]; platforms = lib.platforms.all; }; })