nixpkgs/pkgs/applications/terminal-emulators/terminator/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

79 lines
1.6 KiB
Nix
Raw Permalink Normal View History

{ 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
, wrapGAppsHook3
2020-05-01 13:23:15 +02:00
, vte
, nixosTests
}:
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";
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=";
};
2020-05-01 13:23:15 +02:00
nativeBuildInputs = [
file
intltool
gobject-introspection
wrapGAppsHook3
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
];
postPatch = ''
2020-10-14 07:37:45 +02:00
patchShebangs tests po
'';
2020-10-14 07:37:45 +02:00
doCheck = false;
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
passthru.tests.test = nixosTests.terminal-emulators.terminator;
meta = with 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).
'';
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";
license = licenses.gpl2;
maintainers = with maintainers; [ bjornfor ];
platforms = platforms.linux;
};
}