python3Packages.acoustics: fix build

This commit is contained in:
sveitser 2022-11-26 16:25:24 +01:00
parent cc53a6e072
commit 2abf4e5967
No known key found for this signature in database
GPG Key ID: 584D5AC88FDC1991

View File

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, flit-core
, matplotlib , matplotlib
, numpy , numpy
, pandas , pandas
@ -20,6 +21,9 @@ buildPythonPackage rec {
inherit pname version; inherit pname version;
sha256 = "sha256-0CvMhCUc+i7dPiHH+IXdlj+OjFh/l1wvnU4dmxQrzFI="; sha256 = "sha256-0CvMhCUc+i7dPiHH+IXdlj+OjFh/l1wvnU4dmxQrzFI=";
}; };
format = "pyproject";
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ propagatedBuildInputs = [
matplotlib matplotlib
@ -44,8 +48,8 @@ buildPythonPackage rec {
]; ];
disabledTestPaths = [ disabledTestPaths = [
# All tests fail with TypeError # ValueError: Unknown window type: "hanning"
"tests/test_aio.py" "tests/standards/test_iso_1996_2_2007.py"
]; ];
pythonImportsCheck = [ "acoustics" ]; pythonImportsCheck = [ "acoustics" ];