eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
78 lines
1.6 KiB
Nix
78 lines
1.6 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
, keybinder3
|
|
, intltool
|
|
, file
|
|
, gtk3
|
|
, gobject-introspection
|
|
, libnotify
|
|
, wrapGAppsHook3
|
|
, vte
|
|
, nixosTests
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "terminator";
|
|
version = "2.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gnome-terminator";
|
|
repo = "terminator";
|
|
rev = "v${version}";
|
|
hash = "sha256-Kx0z9oheA7Ihgsyg6zgPcGFMrqlXoIpQcL/dMqPB2qA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
file
|
|
intltool
|
|
gobject-introspection
|
|
wrapGAppsHook3
|
|
python3.pkgs.pytest-runner
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
keybinder3
|
|
libnotify
|
|
python3
|
|
vte
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
configobj
|
|
dbus-python
|
|
pygobject3
|
|
psutil
|
|
pycairo
|
|
];
|
|
|
|
postPatch = ''
|
|
patchShebangs tests po
|
|
'';
|
|
|
|
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).
|
|
'';
|
|
changelog = "https://github.com/gnome-terminator/terminator/releases/tag/v${version}";
|
|
homepage = "https://github.com/gnome-terminator/terminator";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|