diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/shells/zsh/zsh-abbr/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/zsh-abbr/default.nix b/pkgs/shells/zsh/zsh-abbr/default.nix new file mode 100644 index 0000000000000..9a8f9f9b55971 --- /dev/null +++ b/pkgs/shells/zsh/zsh-abbr/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e6fac932b6418..5d0aa2dd68e82 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |