python3Packages.soundfile: prefer meta.broken over disabled by platform

This commit is contained in:
Gutyina Gergő
2026-01-14 12:30:10 +01:00
parent 6300da1809
commit 2a8439695d
@@ -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;
};
}