From 29605d3f95e886db5491e64b4ae0520661ff7256 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 27 May 2026 15:45:44 +0300 Subject: [PATCH] pyglossary-gui: switch to gtk4 Could have been done since upstream's [`4.6.0` release][1] [1]: https://github.com/ilius/pyglossary/releases/tag/4.6.0 --- pkgs/development/python-modules/pyglossary/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyglossary/default.nix b/pkgs/development/python-modules/pyglossary/default.nix index 9543e9f2f1aa..9ffef926ce59 100644 --- a/pkgs/development/python-modules/pyglossary/default.nix +++ b/pkgs/development/python-modules/pyglossary/default.nix @@ -12,7 +12,7 @@ # nativeBuildInputs for GUI gobject-introspection, - wrapGAppsHook3, + wrapGAppsHook4, # dependencies (required for most functionality) pyicu, @@ -20,7 +20,7 @@ enableGui ? false, # for GUI only pygobject3, - gtk3, + gtk4, enableCmd ? false, prompt-toolkit, tqdm, @@ -43,7 +43,7 @@ buildPythonPackage (finalAttrs: { ] ++ lib.optionals enableGui [ gobject-introspection - wrapGAppsHook3 + wrapGAppsHook4 ]; dependencies = [ @@ -59,7 +59,7 @@ buildPythonPackage (finalAttrs: { ]; buildInputs = lib.optionals enableGui [ - gtk3 + gtk4 ]; # Many issues with the tests: They require `cd tests` in `preCheck`; Some of