2021-01-15 06:28:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub}:
|
2016-06-26 23:39:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "zsh-completions";
|
2020-07-08 00:40:03 +01:00
|
|
|
version = "0.32.0";
|
2016-06-26 23:39:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zsh-users";
|
2019-09-21 00:16:43 +01:00
|
|
|
repo = pname;
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2020-07-08 00:40:03 +01:00
|
|
|
sha256 = "12l9wrx0aysyj62kgp5limglz0nq73w8c415wcshxnxmhyk6sw6d";
|
2016-06-26 23:39:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase= ''
|
|
|
|
install -D --target-directory=$out/share/zsh/site-functions src/*
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Additional completion definitions for zsh";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/zsh-users/zsh-completions";
|
2021-01-15 06:28:56 +00:00
|
|
|
license = lib.licenses.free;
|
2016-06-26 23:39:18 +01:00
|
|
|
|
2021-01-15 06:28:56 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.olejorgenb ];
|
2016-06-26 23:39:18 +01:00
|
|
|
};
|
|
|
|
}
|