blob: e44fa4a71a97ec29bdc29c2e87ac3b0a9a7a0687 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
stdenv,
lib,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "zsh-abbr";
version = "5.6.0";
src = fetchFromGitHub {
owner = "olets";
repo = "zsh-abbr";
rev = "v${version}";
hash = "sha256-FcT1gk11a3nluP0sFMa5LoF7oT/MO4B1GdqdTdFxsLQ=";
};
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;
};
}
|