Skip to content
Permalink
Browse files

kitty: init at 0.3.0

  • Loading branch information
peterhoeg committed Oct 19, 2017
1 parent 00e56fb commit 937942cd95b2644eead5df3ed081e60ea8602ab9
Showing with 58 additions and 0 deletions.
  1. +56 −0 pkgs/applications/misc/kitty/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
@@ -0,0 +1,56 @@
{ stdenv, fetchFromGitHub, python3, pkgconfig
, fontconfig, freetype, glfw3, glew, libpng, libunistring, ncurses, zlib }:

python3.pkgs.buildPythonApplication rec {
name = "kitty-${version}";
version = "0.3.0";

src = fetchFromGitHub {
owner = "kovidgoyal";
repo = "kitty";
rev = "v${version}";
sha256 = "0k9c1xigz3vfmdbd0xmlryxzbgzs6synm3jxv46nnrbkd8pah29x";
};

format = "other";

nativeBuildInputs = [ pkgconfig ];

buildInputs = [ fontconfig freetype glew glfw3 libpng libunistring ncurses python3 zlib ];

propagatedBuildInputs = with python3.pkgs; [
];

dontBuild = true;

installPhase = ''
runHook preInstall
python3 setup.py linux-package --prefix=$out
# mkdir -p $out
# mv linux-package/{bin,lib,share} $out
runHook postInstall
'';

doCheck = false;

installCheckPhase = ''
runHook preInstallCheck
export HOME=tmp
python3 setup.py test
runHook postInstallCheck
'';

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; [ peterhoeg ];
platforms = with platforms; linux ++ darwin;
};
}

runc = callPackage ../applications/virtualization/runc {};

kitty = callPackage ../applications/misc/kitty { };

rxvt = callPackage ../applications/misc/rxvt { };

# urxvt

0 comments on commit 937942c

Please sign in to comment.
You can’t perform that action at this time.