From b2fb85da5411e518221ca04bc993a93f821daf88 Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Sat, 21 Jun 2025 09:20:19 +0200 Subject: [PATCH 1/2] quodlibet: fix python3.13 build --- pkgs/applications/audio/quodlibet/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/quodlibet/default.nix b/pkgs/applications/audio/quodlibet/default.nix index ee2b4f8a842b..4d524b255fa4 100644 --- a/pkgs/applications/audio/quodlibet/default.nix +++ b/pkgs/applications/audio/quodlibet/default.nix @@ -118,7 +118,8 @@ python3.pkgs.buildPythonApplication { ++ lib.optionals withMusicBrainzNgs [ musicbrainzngs ] ++ lib.optionals withPahoMqtt [ paho-mqtt ] ++ lib.optionals withPypresence [ pypresence ] - ++ lib.optionals withSoco [ soco ]; + ++ lib.optionals withSoco [ soco ] + ++ lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ]; nativeCheckInputs = [ From 06d80984c41e868df755322e0e484be0234c300d Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Sat, 21 Jun 2025 09:20:55 +0200 Subject: [PATCH 2/2] quodlibet: remove usage of with lib --- pkgs/applications/audio/quodlibet/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/quodlibet/default.nix b/pkgs/applications/audio/quodlibet/default.nix index 4d524b255fa4..a70360d0d324 100644 --- a/pkgs/applications/audio/quodlibet/default.nix +++ b/pkgs/applications/audio/quodlibet/default.nix @@ -171,7 +171,7 @@ python3.pkgs.buildPythonApplication { gappsWrapperArgs+=(--prefix PATH : ${kakasi}/bin) ''; - meta = with lib; { + meta = { description = "GTK-based audio player written in Python, using the Mutagen tagging library"; longDescription = '' Quod Libet is a GTK-based audio player written in Python, using @@ -187,8 +187,8 @@ python3.pkgs.buildPythonApplication { & internet radio, and all major audio formats. ''; homepage = "https://quodlibet.readthedocs.io/en/latest"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ coroa pbogdan ];