mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +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)
80 lines
1.4 KiB
Nix
80 lines
1.4 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, python3
|
|
, pkg-config
|
|
, ldc
|
|
, dconf
|
|
, dbus
|
|
, gsettings-desktop-schemas
|
|
, desktop-file-utils
|
|
, gettext
|
|
, gtkd
|
|
, libsecret
|
|
, wrapGAppsHook3
|
|
, libunwind
|
|
, appstream
|
|
, nixosTests
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "tilix";
|
|
version = "1.9.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gnunn1";
|
|
repo = "tilix";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-KP0ojwyZ5FaYKW0nK9mGGAiz1h+gTbfjCUDCgN2LAO8=";
|
|
};
|
|
|
|
# Default upstream else LDC fails to link
|
|
mesonBuildType = [
|
|
"debugoptimized"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
ldc
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
python3
|
|
wrapGAppsHook3
|
|
appstream
|
|
];
|
|
|
|
buildInputs = [
|
|
dbus
|
|
gettext
|
|
dconf
|
|
gsettings-desktop-schemas
|
|
gtkd
|
|
libsecret
|
|
libunwind
|
|
];
|
|
|
|
postPatch = ''
|
|
chmod +x meson_post_install.py
|
|
patchShebangs meson_post_install.py
|
|
'';
|
|
|
|
preFixup = ''
|
|
substituteInPlace $out/share/applications/com.gexperts.Tilix.desktop \
|
|
--replace "Exec=tilix" "Exec=$out/bin/tilix"
|
|
'';
|
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.tilix;
|
|
|
|
meta = with lib; {
|
|
description = "Tiling terminal emulator following the Gnome Human Interface Guidelines";
|
|
homepage = "https://gnunn1.github.io/tilix-web";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ midchildan jtbx ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "tilix";
|
|
};
|
|
})
|