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)
74 lines
1.4 KiB
Nix
74 lines
1.4 KiB
Nix
{ lib
|
|
, fetchurl
|
|
, gettext
|
|
, itstool
|
|
, python3
|
|
, meson
|
|
, ninja
|
|
, wrapGAppsHook3
|
|
, libxml2
|
|
, pkg-config
|
|
, desktop-file-utils
|
|
, gobject-introspection
|
|
, gtk3
|
|
, gtksourceview4
|
|
, gnome
|
|
, gsettings-desktop-schemas
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "meld";
|
|
version = "3.22.2";
|
|
|
|
format = "other";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-RqCnE/vNGxU7N3oeB1fIziVcmCJGdljqz72JsekjFu8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
gettext
|
|
itstool
|
|
libxml2
|
|
pkg-config
|
|
desktop-file-utils
|
|
gobject-introspection
|
|
wrapGAppsHook3
|
|
gtk3 # for gtk-update-icon-cache
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
gtksourceview4
|
|
gsettings-desktop-schemas
|
|
gnome.adwaita-icon-theme
|
|
];
|
|
|
|
pythonPath = with python3.pkgs; [
|
|
pygobject3
|
|
pycairo
|
|
];
|
|
|
|
postPatch = ''
|
|
patchShebangs meson_shebang_normalisation.py
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "none"; # should be odd-unstable but we are tracking unstable versions for now
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Visual diff and merge tool";
|
|
homepage = "https://meld.app/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = with maintainers; [ jtojnar mimame ];
|
|
mainProgram = "meld";
|
|
};
|
|
}
|