nixpkgs/pkgs/tools/misc/zsh-navigation-tools/default.nix

28 lines
662 B
Nix
Raw Normal View History

2015-09-13 11:32:06 +00:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "zsh-navigation-tools-${version}";
2015-11-30 21:40:18 +00:00
version = "1.3.2";
2015-09-13 11:32:06 +00:00
src = fetchFromGitHub {
owner = "psprint";
repo = "zsh-navigation-tools";
rev = "v${version}";
2015-11-30 21:40:18 +00:00
sha256 = "1xj1jakcrf0sfkiq6l1drg6vzylhkk0kmhs7nz08dv18pgx9jy36";
2015-09-13 11:32:06 +00:00
};
dontBuild = true;
installPhase = ''
mkdir -p $out/share/zsh/site-functions/
cp n-* $out/share/zsh/site-functions/
'';
meta = with stdenv.lib; {
description = "Curses-based tools for ZSH";
homepage = https://github.com/psprint/zsh-navigation-tools;
license = licenses.gpl3;
maintainers = with maintainers; [ pSub ];
};
}