From 53ce10ad902f982f2f0f61014d775d96faab5eb1 Mon Sep 17 00:00:00 2001 From: squalus Date: Mon, 22 Jul 2024 12:29:53 -0700 Subject: [PATCH] gpodder: fix build Switch to Python 3.11 since the release version does not work on Python 3.12 Fixes #328584 --- pkgs/applications/audio/gpodder/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/audio/gpodder/default.nix b/pkgs/applications/audio/gpodder/default.nix index eff5bd76c9f2..61e33cae9026 100644 --- a/pkgs/applications/audio/gpodder/default.nix +++ b/pkgs/applications/audio/gpodder/default.nix @@ -6,13 +6,12 @@ , gobject-introspection , gtk3 , intltool -, python3 -, python3Packages +, python311Packages , wrapGAppsHook3 , xdg-utils }: -python3Packages.buildPythonApplication rec { +python311Packages.buildPythonApplication rec { pname = "gpodder"; version = "3.11.4"; format = "other"; @@ -40,12 +39,11 @@ python3Packages.buildPythonApplication rec { ]; buildInputs = [ - python3 gtk3 adwaita-icon-theme ]; - nativeCheckInputs = with python3Packages; [ + nativeCheckInputs = with python311Packages; [ minimock pytest pytest-httpserver @@ -54,7 +52,7 @@ python3Packages.buildPythonApplication rec { doCheck = true; - propagatedBuildInputs = with python3Packages; [ + propagatedBuildInputs = with python311Packages; [ feedparser dbus-python mygpoclient