2018-12-02 11:41:15 +00:00
|
|
|
{ stdenv, fetchurl, python2, keybinder3, intltool, file, gtk3, gobject-introspection
|
2018-12-25 23:15:46 +00:00
|
|
|
, libnotify, wrapGAppsHook, vte
|
2016-09-06 11:37:39 +00:00
|
|
|
}:
|
2012-05-21 15:08:16 +00:00
|
|
|
|
2018-04-15 12:17:05 +00:00
|
|
|
python2.pkgs.buildPythonApplication rec {
|
2014-02-17 19:43:35 +00:00
|
|
|
name = "terminator-${version}";
|
2018-01-24 10:10:42 +00:00
|
|
|
version = "1.91";
|
2016-09-06 11:37:39 +00:00
|
|
|
|
2012-05-21 15:08:16 +00:00
|
|
|
src = fetchurl {
|
2018-01-24 10:10:42 +00:00
|
|
|
url = "https://launchpad.net/terminator/gtk3/${version}/+download/${name}.tar.gz";
|
|
|
|
sha256 = "95f76e3c0253956d19ceab2f8da709a496f1b9cf9b1c5b8d3cd0b6da3cc7be69";
|
2012-05-21 15:08:16 +00:00
|
|
|
};
|
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ file intltool wrapGAppsHook gobject-introspection ];
|
2019-03-27 16:50:22 +00:00
|
|
|
buildInputs = [ gtk3 vte libnotify keybinder3
|
|
|
|
gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
|
|
|
|
];
|
2018-04-15 12:17:05 +00:00
|
|
|
propagatedBuildInputs = with python2.pkgs; [ pygobject3 psutil pycairo ];
|
2016-09-06 11:37:39 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
2014-02-16 17:26:06 +00:00
|
|
|
|
2016-09-06 11:37:39 +00:00
|
|
|
checkPhase = ''
|
|
|
|
./run_tests
|
|
|
|
'';
|
2012-05-21 15:08:16 +00: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).
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://gnometerminator.blogspot.no/p/introduction.html";
|
2014-02-16 17:26:06 +00:00
|
|
|
license = licenses.gpl2;
|
2019-08-20 17:36:05 +00:00
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
2014-02-16 17:26:06 +00:00
|
|
|
platforms = platforms.linux;
|
2012-05-21 15:08:16 +00:00
|
|
|
};
|
|
|
|
}
|