From 77fead6e388b7a73facdebd0470f5c8990528a4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Wed, 14 Jan 2026 12:26:11 +0100 Subject: [PATCH 1/3] python3Packages.mahotas: prefer meta.broken over disabled by platform --- pkgs/development/python-modules/mahotas/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/mahotas/default.nix b/pkgs/development/python-modules/mahotas/default.nix index f993c7a61b00..9d0aa801707e 100644 --- a/pkgs/development/python-modules/mahotas/default.nix +++ b/pkgs/development/python-modules/mahotas/default.nix @@ -49,10 +49,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "mahotas" ]; - disabled = stdenv.hostPlatform.isi686; # Failing tests - meta = { - broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); + broken = + (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) + # Failing tests + || stdenv.hostPlatform.isi686; description = "Computer vision package based on numpy"; homepage = "https://mahotas.readthedocs.io/"; maintainers = with lib.maintainers; [ luispedro ]; From 6300da1809e1f21816978da7bf03730d74d306b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Wed, 14 Jan 2026 12:28:02 +0100 Subject: [PATCH 2/3] python3Packages.ospd: prefer meta.broken over disabled by platform --- pkgs/development/python-modules/ospd/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/ospd/default.nix b/pkgs/development/python-modules/ospd/default.nix index cffeb4e6cb68..615ff3c2693f 100644 --- a/pkgs/development/python-modules/ospd/default.nix +++ b/pkgs/development/python-modules/ospd/default.nix @@ -9,7 +9,6 @@ paramiko, psutil, pytestCheckHook, - pythonOlder, }: buildPythonPackage rec { @@ -17,8 +16,6 @@ buildPythonPackage rec { version = "21.4.4"; format = "setuptools"; - disabled = pythonOlder "3.7" || stdenv.hostPlatform.isDarwin; - src = fetchFromGitHub { owner = "greenbone"; repo = "ospd"; @@ -44,5 +41,6 @@ buildPythonPackage rec { changelog = "https://github.com/greenbone/ospd/releases/tag/v${version}"; license = with lib.licenses; [ agpl3Plus ]; maintainers = with lib.maintainers; [ fab ]; + broken = stdenv.hostPlatform.isDarwin; }; } From 2a8439695d1f4b9e850c8bbf0597760fb191be68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Wed, 14 Jan 2026 12:30:10 +0100 Subject: [PATCH 3/3] python3Packages.soundfile: prefer meta.broken over disabled by platform --- pkgs/development/python-modules/soundfile/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/soundfile/default.nix b/pkgs/development/python-modules/soundfile/default.nix index aec21950eed7..a2c86469efd9 100644 --- a/pkgs/development/python-modules/soundfile/default.nix +++ b/pkgs/development/python-modules/soundfile/default.nix @@ -15,8 +15,7 @@ buildPythonPackage rec { pname = "soundfile"; version = "0.13.1"; pyproject = true; - # https://github.com/bastibe/python-soundfile/issues/157 - disabled = isPyPy || stdenv.hostPlatform.isi686; + disabled = isPyPy; src = fetchPypi { inherit pname version; @@ -45,5 +44,7 @@ buildPythonPackage rec { description = "Audio library based on libsndfile, CFFI and NumPy"; license = lib.licenses.bsd3; homepage = "https://github.com/bastibe/python-soundfile"; + # https://github.com/bastibe/python-soundfile/issues/157 + broken = stdenv.hostPlatform.isi686; }; }