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