From 1e645638fbcb684091ee8555a3d51e67186bc179 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sun, 12 Apr 2026 10:19:49 +0300 Subject: [PATCH] python3Packages.beets-alternatives: fix a test failing with beets 2.9.0 --- .../python-modules/beets-alternatives/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/python-modules/beets-alternatives/default.nix b/pkgs/development/python-modules/beets-alternatives/default.nix index 3cfc70696255..ec30ac64bade 100644 --- a/pkgs/development/python-modules/beets-alternatives/default.nix +++ b/pkgs/development/python-modules/beets-alternatives/default.nix @@ -32,6 +32,18 @@ buildPythonPackage rec { hash = "sha256-leZYXf6Oo/jAKbnJbP+rTnuRsh9P1BQXYAbthMNT60A="; }; + patches = [ + # Fixes a failing test, see: + # https://github.com/geigerzaehler/beets-alternatives/issues/212 + (fetchpatch { + url = "https://github.com/geigerzaehler/beets-alternatives/commit/8b75974636897aabcf2ca75fb0987f7beb68f50f.patch"; + hash = "sha256-lIJwuf3UklcJM4m7CO2+aNpPekHXuC5rpPVjK+kb+FQ="; + includes = [ + "test/cli_test.py" + ]; + }) + ]; + build-system = [ hatchling ];