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