From 2abf4e596782dfd9b96e3abe1c9cb7bc4091ed59 Mon Sep 17 00:00:00 2001 From: sveitser Date: Sat, 26 Nov 2022 16:25:24 +0100 Subject: [PATCH] python3Packages.acoustics: fix build --- pkgs/development/python-modules/acoustics/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/acoustics/default.nix b/pkgs/development/python-modules/acoustics/default.nix index f81f382b956e..7de65d83fb65 100644 --- a/pkgs/development/python-modules/acoustics/default.nix +++ b/pkgs/development/python-modules/acoustics/default.nix @@ -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" ];