Loading pkgs/development/python-modules/resampy/default.nix +17 −9 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, cython, fetchFromGitHub, numba, numpy, optuna, pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, scipy, }: buildPythonPackage rec { pname = "resampy"; version = "0.4.3"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -24,21 +27,26 @@ buildPythonPackage rec { hash = "sha256-LOWpOPAEK+ga7c3bR15QvnHmON6ARS1Qee/7U/VMlTY="; }; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ numpy cython numba ]; optional-dependencies.design = [ optuna ]; nativeCheckInputs = [ pytest-cov-stub pytestCheckHook scipy ]; ] ++ optional-dependencies.design; postPatch = '' substituteInPlace setup.cfg \ --replace " --cov-report term-missing --cov resampy --cov-report=xml" "" ''; disabledTests = lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ # crashing the interpreter "test_quality_sine_parallel" "test_resample_nu_quality_sine_parallel" ]; pythonImportsCheck = [ "resampy" ]; Loading Loading
pkgs/development/python-modules/resampy/default.nix +17 −9 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, cython, fetchFromGitHub, numba, numpy, optuna, pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools, scipy, }: buildPythonPackage rec { pname = "resampy"; version = "0.4.3"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.7"; Loading @@ -24,21 +27,26 @@ buildPythonPackage rec { hash = "sha256-LOWpOPAEK+ga7c3bR15QvnHmON6ARS1Qee/7U/VMlTY="; }; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ numpy cython numba ]; optional-dependencies.design = [ optuna ]; nativeCheckInputs = [ pytest-cov-stub pytestCheckHook scipy ]; ] ++ optional-dependencies.design; postPatch = '' substituteInPlace setup.cfg \ --replace " --cov-report term-missing --cov resampy --cov-report=xml" "" ''; disabledTests = lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ # crashing the interpreter "test_quality_sine_parallel" "test_resample_nu_quality_sine_parallel" ]; pythonImportsCheck = [ "resampy" ]; Loading