diff --git a/lib/licenses.nix b/lib/licenses.nix index ee71488263a9..599e8ee53c93 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -657,6 +657,13 @@ in mkLicense lset) ({ redistributable = true; }; + hl3 = { + fullName = "Hippocratic License v3.0"; + url = "https://firstdonoharm.dev/version/3/0/core.txt"; + free = false; + redistributable = true; + }; + issl = { fullName = "Intel Simplified Software License"; url = "https://software.intel.com/en-us/license/intel-simplified-software-license"; diff --git a/pkgs/shells/zsh/zsh-abbr/default.nix b/pkgs/shells/zsh/zsh-abbr/default.nix new file mode 100644 index 000000000000..9a8f9f9b5597 --- /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 feab9c882c3a..e08376e69391 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14795,6 +14795,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 { };