2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2020-05-01 13:23:15 +02:00
|
|
|
, fetchFromGitHub
|
2020-05-01 19:43:01 +02:00
|
|
|
, python3
|
2020-05-01 13:23:15 +02:00
|
|
|
, keybinder3
|
|
|
|
, intltool
|
|
|
|
, file
|
|
|
|
, gtk3
|
|
|
|
, gobject-introspection
|
|
|
|
, libnotify
|
2024-04-26 22:24:03 +02:00
|
|
|
, wrapGAppsHook3
|
2020-05-01 13:23:15 +02:00
|
|
|
, vte
|
2020-11-13 19:54:56 +01:00
|
|
|
, nixosTests
|
2016-09-06 13:37:39 +02:00
|
|
|
}:
|
2012-05-21 17:08:16 +02:00
|
|
|
|
2020-05-01 19:43:01 +02:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "terminator";
|
2023-04-24 16:45:53 +02:00
|
|
|
version = "2.1.3";
|
2016-09-06 13:37:39 +02:00
|
|
|
|
2020-05-01 13:23:15 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gnome-terminator";
|
|
|
|
repo = "terminator";
|
2020-05-01 19:43:01 +02:00
|
|
|
rev = "v${version}";
|
2023-04-24 16:45:53 +02:00
|
|
|
hash = "sha256-Kx0z9oheA7Ihgsyg6zgPcGFMrqlXoIpQcL/dMqPB2qA=";
|
2012-05-21 17:08:16 +02:00
|
|
|
};
|
|
|
|
|
2020-05-01 13:23:15 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
file
|
|
|
|
intltool
|
|
|
|
gobject-introspection
|
2024-04-26 22:24:03 +02:00
|
|
|
wrapGAppsHook3
|
2021-07-20 23:07:53 +02:00
|
|
|
python3.pkgs.pytest-runner
|
2020-05-01 13:23:15 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
keybinder3
|
|
|
|
libnotify
|
2020-05-01 19:43:01 +02:00
|
|
|
python3
|
2020-05-01 13:23:15 +02:00
|
|
|
vte
|
|
|
|
];
|
|
|
|
|
2020-05-01 19:43:01 +02:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2020-05-01 13:23:15 +02:00
|
|
|
configobj
|
|
|
|
dbus-python
|
|
|
|
pygobject3
|
|
|
|
psutil
|
|
|
|
pycairo
|
2019-03-27 17:50:22 +01:00
|
|
|
];
|
2016-09-06 13:37:39 +02:00
|
|
|
|
|
|
|
postPatch = ''
|
2020-10-14 07:37:45 +02:00
|
|
|
patchShebangs tests po
|
2016-09-06 13:37:39 +02:00
|
|
|
'';
|
2014-02-16 18:26:06 +01:00
|
|
|
|
2020-10-14 07:37:45 +02:00
|
|
|
doCheck = false;
|
2012-05-21 17:08:16 +02:00
|
|
|
|
2021-10-17 13:46:57 +02:00
|
|
|
dontWrapGApps = true;
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
|
|
'';
|
|
|
|
|
2020-11-13 19:54:56 +01:00
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.terminator;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2014-02-16 18:26:06 +01:00
|
|
|
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).
|
|
|
|
'';
|
2022-12-23 14:53:24 +01:00
|
|
|
changelog = "https://github.com/gnome-terminator/terminator/releases/tag/v${version}";
|
2020-05-01 13:23:15 +02:00
|
|
|
homepage = "https://github.com/gnome-terminator/terminator";
|
2014-02-16 18:26:06 +01:00
|
|
|
license = licenses.gpl2;
|
2019-08-20 19:36:05 +02:00
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
2014-02-16 18:26:06 +01:00
|
|
|
platforms = platforms.linux;
|
2012-05-21 17:08:16 +02:00
|
|
|
};
|
|
|
|
}
|