From 45e62262caeff305902da14186914679bd72f89f Mon Sep 17 00:00:00 2001 From: Spencer Heywood Date: Thu, 1 Aug 2024 15:55:08 -0600 Subject: [PATCH] guake: use python311 Using Python 3.12 results in the Guake package not producing executables. This PR provides a fix for that issue until the underlying issue is resolved. --- .../terminal-emulators/guake/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/terminal-emulators/guake/default.nix b/pkgs/applications/terminal-emulators/guake/default.nix index 239d9a2fe048..44131d3c87b5 100644 --- a/pkgs/applications/terminal-emulators/guake/default.nix +++ b/pkgs/applications/terminal-emulators/guake/default.nix @@ -1,7 +1,8 @@ { lib , fetchFromGitHub , fetchpatch -, python3 +, python311 +, python311Packages , glibcLocales , gobject-introspection , wrapGAppsHook3 @@ -15,7 +16,7 @@ , nixosTests }: -python3.pkgs.buildPythonApplication rec { +python311Packages.buildPythonApplication rec { pname = "guake"; version = "3.10"; @@ -55,7 +56,7 @@ python3.pkgs.buildPythonApplication rec { nativeBuildInputs = [ gobject-introspection wrapGAppsHook3 - python3.pkgs.pip + python311Packages.pip ]; buildInputs = [ @@ -64,13 +65,13 @@ python3.pkgs.buildPythonApplication rec { keybinder3 libnotify libwnck - python3 + python311 vte ]; makeWrapperArgs = [ "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive" ]; - propagatedBuildInputs = with python3.pkgs; [ + propagatedBuildInputs = with python311Packages; [ dbus-python pycairo pygobject3 @@ -96,7 +97,7 @@ python3.pkgs.buildPythonApplication rec { description = "Drop-down terminal for GNOME"; homepage = "http://guake-project.org"; license = licenses.gpl2Plus; - maintainers = [ maintainers.msteen ]; + maintainers = [ maintainers.msteen maintainers.heywoodlh ]; platforms = platforms.linux; }; }