zsh-abbr: init at 5.1.0

This commit is contained in:
Icy-Thought 2023-07-07 12:37:38 +02:00
parent 68a3f565fb
commit 9fb0a911cc
No known key found for this signature in database
GPG Key ID: B593E438DDAB3C66
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{
stdenv,
lib,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "zsh-abbr";
version = "5.1.0";
src = fetchFromGitHub {
owner = "olets";
repo = "zsh-abbr";
rev = "v${version}";
hash = "sha256-iKL2vn7TmQr78y0Bn02DgNf9DS5jZyh6uK9MzYTFZaA";
};
strictDeps = true;
installPhase = ''
install -D zsh-abbr.zsh $out/share/zsh/${pname}/abbr.plugin.zsh
'';
meta = with lib; {
homepage = "https://github.com/olets/zsh-abbr";
description = "The 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;
};
}

View File

@ -14646,6 +14646,8 @@ with pkgs;
zstxtns-utils = callPackage ../tools/text/zstxtns-utils { };
zsh-abbr = callPackage ../shells/zsh/zsh-abbr { };
zsh-autoenv = callPackage ../tools/misc/zsh-autoenv { };
zsh-autopair = callPackage ../shells/zsh/zsh-autopair { };