forked from mirrors/nixpkgs
kitty: init at 0.4.2 (#30687)
* add new application: terminal kitty (opengl, c, python) https://github.com/kovidgoyal/kitty.git * kitty: nitpicks * update kitty 0.4.0 -> 0.4.2, add maintainer
This commit is contained in:
parent
5c0ebf550c
commit
c564e54f12
|
@ -610,6 +610,7 @@
|
||||||
teh = "Tom Hunger <tehunger@gmail.com>";
|
teh = "Tom Hunger <tehunger@gmail.com>";
|
||||||
telotortium = "Robert Irelan <rirelan@gmail.com>";
|
telotortium = "Robert Irelan <rirelan@gmail.com>";
|
||||||
teto = "Matthieu Coudron <mcoudron@hotmail.com>";
|
teto = "Matthieu Coudron <mcoudron@hotmail.com>";
|
||||||
|
tex = "Milan Svoboda <milan.svoboda@centrum.cz>";
|
||||||
thall = "Niclas Thall <niclas.thall@gmail.com>";
|
thall = "Niclas Thall <niclas.thall@gmail.com>";
|
||||||
thammers = "Tobias Hammerschmidt <jawr@gmx.de>";
|
thammers = "Tobias Hammerschmidt <jawr@gmx.de>";
|
||||||
the-kenny = "Moritz Ulrich <moritz@tarn-vedra.de>";
|
the-kenny = "Moritz Ulrich <moritz@tarn-vedra.de>";
|
||||||
|
|
38
pkgs/applications/misc/kitty/default.nix
Normal file
38
pkgs/applications/misc/kitty/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{ stdenv, fetchFromGitHub, pkgs, python3Packages, glfw, libunistring, glew, fontconfig, zlib, pkgconfig, ncurses, imagemagick, makeWrapper }:
|
||||||
|
|
||||||
|
with python3Packages;
|
||||||
|
buildPythonApplication rec {
|
||||||
|
version = "0.4.2";
|
||||||
|
name = "kitty-${version}";
|
||||||
|
format = "other";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "kovidgoyal";
|
||||||
|
repo = "kitty";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "058676r2b83mjggbfc701v3vlviaslf7qciz8sm8lcda82k01wfp";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ glew fontconfig glfw ncurses libunistring ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
python3 setup.py linux-package
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out
|
||||||
|
cp -r linux-package/{bin,share,lib} $out
|
||||||
|
wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${stdenv.lib.makeBinPath [ imagemagick ]}"
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/kovidgoyal/kitty;
|
||||||
|
description = "A modern, hackable, featureful, OpenGL based terminal emulator";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = with maintainers; [ tex ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -15303,6 +15303,8 @@ with pkgs;
|
||||||
|
|
||||||
kipi-plugins = libsForQt5.callPackage ../applications/graphics/kipi-plugins { };
|
kipi-plugins = libsForQt5.callPackage ../applications/graphics/kipi-plugins { };
|
||||||
|
|
||||||
|
kitty = callPackage ../applications/misc/kitty { };
|
||||||
|
|
||||||
kiwix = callPackage ../applications/misc/kiwix { };
|
kiwix = callPackage ../applications/misc/kiwix { };
|
||||||
|
|
||||||
kmplayer = libsForQt5.callPackage ../applications/video/kmplayer { };
|
kmplayer = libsForQt5.callPackage ../applications/video/kmplayer { };
|
||||||
|
|
Loading…
Reference in a new issue