diff options
Diffstat (limited to 'pkgs/development/python-modules/pysilero-vad/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pysilero-vad/default.nix | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/pkgs/development/python-modules/pysilero-vad/default.nix b/pkgs/development/python-modules/pysilero-vad/default.nix index 332d7260e519f..7d2b44a61ec28 100644 --- a/pkgs/development/python-modules/pysilero-vad/default.nix +++ b/pkgs/development/python-modules/pysilero-vad/default.nix @@ -1,18 +1,18 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, stdenv -, pythonRelaxDepsHook +{ + lib, + buildPythonPackage, + fetchFromGitHub, + stdenv, -# build-system -, setuptools + # build-system + setuptools, -# dependencies -, numpy -, onnxruntime + # dependencies + numpy, + onnxruntime, -# tests -, pytestCheckHook + # tests + pytestCheckHook, }: buildPythonPackage rec { @@ -29,25 +29,18 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools - pythonRelaxDepsHook ]; - pythonRelaxDeps = [ - "numpy" - ]; + pythonRelaxDeps = [ "numpy" ]; propagatedBuildInputs = [ numpy onnxruntime ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "pysilero_vad" - ]; + pythonImportsCheck = [ "pysilero_vad" ]; meta = with lib; { # what(): /build/source/include/onnxruntime/core/common/logging/logging.h:294 static const onnxruntime::logging::Logger& onnxruntime::logging::LoggingManager::DefaultLogger() Attempt to use DefaultLogger but none has been registered. |