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:
Milan Svoboda 2017-10-25 23:03:20 +02:00 committed by Jörg Thalheim
parent 5c0ebf550c
commit c564e54f12
3 changed files with 41 additions and 0 deletions

View File

@ -610,6 +610,7 @@
teh = "Tom Hunger <tehunger@gmail.com>";
telotortium = "Robert Irelan <rirelan@gmail.com>";
teto = "Matthieu Coudron <mcoudron@hotmail.com>";
tex = "Milan Svoboda <milan.svoboda@centrum.cz>";
thall = "Niclas Thall <niclas.thall@gmail.com>";
thammers = "Tobias Hammerschmidt <jawr@gmx.de>";
the-kenny = "Moritz Ulrich <moritz@tarn-vedra.de>";

View 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 ];
};
}

View File

@ -15303,6 +15303,8 @@ with pkgs;
kipi-plugins = libsForQt5.callPackage ../applications/graphics/kipi-plugins { };
kitty = callPackage ../applications/misc/kitty { };
kiwix = callPackage ../applications/misc/kiwix { };
kmplayer = libsForQt5.callPackage ../applications/video/kmplayer { };