Merge pull request #242035 from Icy-Thought/zsh-abbr
zsh-abbr: init at 5.1.0
This commit is contained in:
commit
51727ac1df
@ -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";
|
||||
|
30
pkgs/shells/zsh/zsh-abbr/default.nix
Normal file
30
pkgs/shells/zsh/zsh-abbr/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user