Merge pull request #103694 from Luflosi/update/kitty
kitty: 0.19.1 -> 0.19.2
This commit is contained in:
commit
4d4f97a892
1 changed files with 7 additions and 7 deletions
|
@ -21,14 +21,14 @@
|
||||||
with python3Packages;
|
with python3Packages;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "kitty";
|
pname = "kitty";
|
||||||
version = "0.19.1";
|
version = "0.19.2";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kovidgoyal";
|
owner = "kovidgoyal";
|
||||||
repo = "kitty";
|
repo = "kitty";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "145fx4nnn0gszawllfwqf1h65ak0ij6ffargs7y0cgaxsc991s6m";
|
sha256 = "06mlrc283k5f75y36fmmaxnj29jfc1s8vaykjph6a86m1gcl5wgi";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -53,10 +53,10 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig sphinx ncurses
|
pkgconfig sphinx ncurses
|
||||||
|
installShellFiles
|
||||||
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||||
imagemagick
|
imagemagick
|
||||||
libicns # For the png2icns tool.
|
libicns # For the png2icns tool.
|
||||||
installShellFiles
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = stdenv.lib.optional stdenv.isLinux libGL;
|
propagatedBuildInputs = stdenv.lib.optional stdenv.isLinux libGL;
|
||||||
|
@ -113,10 +113,10 @@ buildPythonApplication rec {
|
||||||
wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${stdenv.lib.makeBinPath [ imagemagick xsel ncurses.dev ]}"
|
wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${stdenv.lib.makeBinPath [ imagemagick xsel ncurses.dev ]}"
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
|
|
||||||
mkdir -p "$out/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
|
installShellCompletion --cmd kitty \
|
||||||
"$out/bin/kitty" + complete setup fish > "$out/share/fish/vendor_completions.d/kitty.fish"
|
--bash <("$out/bin/kitty" + complete setup bash) \
|
||||||
"$out/bin/kitty" + complete setup bash > "$out/share/bash-completion/completions/kitty.bash"
|
--fish <("$out/bin/kitty" + complete setup fish) \
|
||||||
"$out/bin/kitty" + complete setup zsh > "$out/share/zsh/site-functions/_kitty"
|
--zsh <("$out/bin/kitty" + complete setup zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Reference in a new issue