mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
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)
66 lines
1.2 KiB
Nix
66 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, appstream-glib
|
|
, autoreconfHook
|
|
, dbus
|
|
, pango
|
|
, pcre2
|
|
, pkg-config
|
|
, tmux
|
|
, vte
|
|
, wrapGAppsHook3
|
|
, nixosTests
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "germinal";
|
|
version = "26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Keruspe";
|
|
repo = "Germinal";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-HUi+skF4bJj5CY2cNTOC4tl7jhvpXYKqBx2rqKzjlo0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
appstream-glib
|
|
dbus
|
|
pango
|
|
pcre2
|
|
vte
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-dbusservicesdir=${placeholder "out"}/etc/dbus-1/system-services/"
|
|
];
|
|
|
|
dontWrapGApps = true;
|
|
|
|
fixupPhase = ''
|
|
runHook preFixup
|
|
wrapProgram $out/bin/germinal \
|
|
--prefix PATH ":" "${lib.makeBinPath [ tmux ]}" \
|
|
"''${gappsWrapperArgs[@]}"
|
|
runHook postFixup
|
|
'';
|
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.germinal;
|
|
|
|
meta = {
|
|
description = "A minimal terminal emulator";
|
|
homepage = "https://github.com/Keruspe/Germinal";
|
|
license = lib.licenses.gpl3Plus;
|
|
mainProgram = "germinal";
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|