mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-24 09:31:29 +00:00
zsh-autosuggestions-abbreviations-strategy: init at 1.1.1 (#365976)
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "zsh-autosuggestions-abbreviations-strategy";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "olets";
|
||||
repo = "zsh-autosuggestions-abbreviations-strategy";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-j2Xx8EWcSRntY7gqK9X1/rn3siZgNdL7ht4CyfAA+yY=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user