Merge pull request #242035 from Icy-Thought/zsh-abbr

zsh-abbr: init at 5.1.0
This commit is contained in:
Sandro 2023-07-23 23:28:33 +02:00 committed by GitHub
commit 51727ac1df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 0 deletions

View File

@ -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";

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

@ -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 { };