kitty: 0.32.2 -> 0.33.0

This commit is contained in:
leiserfg 2024-03-13 09:10:37 +01:00
parent b31e87640a
commit af89ee5b68
No known key found for this signature in database

View file

@ -18,37 +18,39 @@
, libpng , libpng
, python3 , python3
, zlib , zlib
, simde
, bashInteractive , bashInteractive
, zsh , zsh
, fish , fish
, nixosTests , nixosTests
, go , go_1_22
, buildGoModule , buildGo122Module
, nix-update-script , nix-update-script
}: }:
with python3Packages; with python3Packages;
buildPythonApplication rec { buildPythonApplication rec {
pname = "kitty"; pname = "kitty";
version = "0.32.2"; version = "0.33.0";
format = "other"; format = "other";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kovidgoyal"; owner = "kovidgoyal";
repo = "kitty"; repo = "kitty";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-CgL+XXVTGLbNXm7DLenrkCZAfspyNubGOAPUZmKiq2c="; hash = "sha256-0bdDolaFbVI3CqcOtKFrvRqrKXIiSIfH5rxJgK5XssI=";
}; };
goModules = (buildGoModule { goModules = (buildGo122Module {
pname = "kitty-go-modules"; pname = "kitty-go-modules";
inherit src version; inherit src version;
vendorHash = "sha256-Ve8s4vgDmByfvyJL8a36+7g3QErkhqVXGCSu6vHFFx0="; vendorHash = "sha256-7301wHGCXUdfPFOhgLEJILmYxNohNm6H2zXGd9W11Wk=";
}).goModules; }).goModules;
buildInputs = [ buildInputs = [
harfbuzz harfbuzz
ncurses ncurses
simde
lcms2 lcms2
librsync librsync
openssl.dev openssl.dev
@ -78,7 +80,7 @@ buildPythonApplication rec {
sphinx-copybutton sphinx-copybutton
sphinxext-opengraph sphinxext-opengraph
sphinx-inline-tabs sphinx-inline-tabs
go go_1_22
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
imagemagick imagemagick
libicns # For the png2icns tool. libicns # For the png2icns tool.
@ -232,7 +234,9 @@ buildPythonApplication rec {
''; '';
passthru = { passthru = {
tests.test = nixosTests.terminal-emulators.kitty; tests = lib.mkIf stdenv.isLinux {
default = nixosTests.terminal-emulators.kitty;
};
updateScript = nix-update-script {}; updateScript = nix-update-script {};
}; };