forked from mirrors/nixpkgs
Merge pull request #15187 from psprint/master
zsh-navigation-tools: 1.4 -> 2.0.7, install all files
This commit is contained in:
commit
8b554ccf8f
|
@ -2,21 +2,24 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zsh-navigation-tools-${version}";
|
||||
version = "1.4";
|
||||
version = "2.0.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "psprint";
|
||||
repo = "zsh-navigation-tools";
|
||||
rev = "v${version}";
|
||||
sha256 = "1r24mpx57jyn201mdhd793rlhlr5r83n9137aafkgf86282ghr7y";
|
||||
sha256 = "0rfab3maha366dgvcmiqj6049wk5fynns1ygbgy4gnvavx2acvg2";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/zsh/site-functions/
|
||||
cp zsh-navigation-tools.plugin.zsh $out/share/zsh/site-functions/
|
||||
cp n-* $out/share/zsh/site-functions/
|
||||
cp znt-* $out/share/zsh/site-functions/
|
||||
mkdir -p $out/share/zsh/site-functions/.config/znt
|
||||
cp .config/znt/n-* $out/share/zsh/site-functions/.config/znt
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue