2016-12-29 00:19:55 +00:00
|
|
|
{ stdenv, fetchurl, pythonPackages, pango, keybinder, vte, gettext, intltool, file
|
2016-09-06 12:37:39 +01:00
|
|
|
}:
|
2012-05-21 16:08:16 +01:00
|
|
|
|
2016-12-29 00:19:55 +00:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2014-02-17 19:43:35 +00:00
|
|
|
name = "terminator-${version}";
|
2016-12-29 00:19:55 +00:00
|
|
|
version = "1.0";
|
2016-09-06 12:37:39 +01:00
|
|
|
|
2012-05-21 16:08:16 +01:00
|
|
|
src = fetchurl {
|
2014-02-17 19:43:35 +00:00
|
|
|
url = "https://launchpad.net/terminator/trunk/${version}/+download/${name}.tar.gz";
|
2016-12-29 00:19:55 +00:00
|
|
|
sha256 = "1pfspcxsbax8a835kcld32fax6vcxsn1fmkny9zzvi4icplhkal8";
|
2012-05-21 16:08:16 +01:00
|
|
|
};
|
|
|
|
|
2016-09-06 12:37:39 +01:00
|
|
|
nativeBuildInputs = [ file intltool ];
|
|
|
|
|
2016-12-29 00:19:55 +00:00
|
|
|
pythonPath = with pythonPackages; [
|
|
|
|
pygtk pygobject2 vte keybinder notify gettext pango psutil
|
2016-09-06 12:37:39 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
2014-02-16 17:26:06 +00:00
|
|
|
|
2016-09-06 12:37:39 +01:00
|
|
|
checkPhase = ''
|
|
|
|
./run_tests
|
|
|
|
'';
|
2012-05-21 16:08:16 +01:00
|
|
|
|
2014-02-16 17:26:06 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Terminal emulator with support for tiling and tabs";
|
|
|
|
longDescription = ''
|
|
|
|
The goal of this project is to produce a useful tool for arranging
|
|
|
|
terminals. It is inspired by programs such as gnome-multi-term,
|
|
|
|
quadkonsole, etc. in that the main focus is arranging terminals in grids
|
|
|
|
(tabs is the most common default method, which Terminator also supports).
|
|
|
|
'';
|
|
|
|
homepage = http://gnometerminator.blogspot.no/p/introduction.html;
|
|
|
|
license = licenses.gpl2;
|
2016-09-06 12:37:39 +01:00
|
|
|
maintainers = with maintainers; [ bjornfor globin ];
|
2014-02-16 17:26:06 +00:00
|
|
|
platforms = platforms.linux;
|
2012-05-21 16:08:16 +01:00
|
|
|
};
|
|
|
|
}
|