diff options
author | Luflosi <luflosi@luflosi.de> | 2021-07-26 11:01:52 +0200 |
---|---|---|
committer | Luflosi <luflosi@luflosi.de> | 2021-08-17 11:27:52 +0200 |
commit | b4038eacd8bcd77d0dbb64b6976bd96f0859fab6 (patch) | |
tree | 0069fe8786930349abb222880d4f49df23a35d8b /pkgs/applications/terminal-emulators/kitty/default.nix | |
parent | 5ee869388882ba63d475bbdb58a6acfc7e411971 (diff) | |
download | nixpkgs-b4038eacd8bcd77d0dbb64b6976bd96f0859fab6.tar nixpkgs-b4038eacd8bcd77d0dbb64b6976bd96f0859fab6.tar.gz nixpkgs-b4038eacd8bcd77d0dbb64b6976bd96f0859fab6.tar.bz2 nixpkgs-b4038eacd8bcd77d0dbb64b6976bd96f0859fab6.tar.lz nixpkgs-b4038eacd8bcd77d0dbb64b6976bd96f0859fab6.tar.xz nixpkgs-b4038eacd8bcd77d0dbb64b6976bd96f0859fab6.tar.zst nixpkgs-b4038eacd8bcd77d0dbb64b6976bd96f0859fab6.zip |
kitty: 0.21.2 -> 0.23.1
https://github.com/kovidgoyal/kitty/releases/tag/v0.23.1 Add the new dependencies required for building the documentation. Also run the postInstall hook at the end of the installPhase instead of in the middle. The URL of the changelog has changed slightly. The old one still works because of a redirect but it's better to use the new one directly.
Diffstat (limited to 'pkgs/applications/terminal-emulators/kitty/default.nix')
-rw-r--r-- | pkgs/applications/terminal-emulators/kitty/default.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index 441c9904c07..cfd46a613f7 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -21,14 +21,14 @@ with python3Packages; buildPythonApplication rec { pname = "kitty"; - version = "0.21.2"; + version = "0.23.1"; format = "other"; src = fetchFromGitHub { owner = "kovidgoyal"; repo = "kitty"; rev = "v${version}"; - sha256 = "0y0mg8rr18mn0wzym7v48x6kl0ixd5q387kr5jhbdln55ph2jk9d"; + sha256 = "sha256-2RwDU6EOJWF0u2ikJFg9U2yqSXergDkJH3h2i+QJ7G4="; }; buildInputs = [ @@ -52,8 +52,14 @@ buildPythonApplication rec { ]; nativeBuildInputs = [ - pkg-config sphinx ncurses installShellFiles + ncurses + pkg-config + sphinx + furo + sphinx-copybutton + sphinxext-opengraph + sphinx-inline-tabs ] ++ lib.optionals stdenv.isDarwin [ imagemagick libicns # For the png2icns tool. @@ -111,12 +117,12 @@ buildPythonApplication rec { cp -r linux-package/{bin,share,lib} $out ''} wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${lib.makeBinPath [ imagemagick xsel ncurses.dev ]}" - runHook postInstall installShellCompletion --cmd kitty \ --bash <("$out/bin/kitty" + complete setup bash) \ --fish <("$out/bin/kitty" + complete setup fish) \ --zsh <("$out/bin/kitty" + complete setup zsh) + runHook postInstall ''; postInstall = '' @@ -136,7 +142,7 @@ buildPythonApplication rec { homepage = "https://github.com/kovidgoyal/kitty"; description = "A modern, hackable, featureful, OpenGL based terminal emulator"; license = licenses.gpl3Only; - changelog = "https://sw.kovidgoyal.net/kitty/changelog.html"; + changelog = "https://sw.kovidgoyal.net/kitty/changelog/"; platforms = platforms.darwin ++ platforms.linux; maintainers = with maintainers; [ tex rvolosatovs Luflosi ]; }; |