python312Packages.pymicro-vad: init 1.0.1

Self-contained voice activity detector.
This commit is contained in:
Martin Weinelt 2024-08-07 23:29:30 +02:00
parent 72713a60b7
commit 1c299b4e8c
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
pybind11,
setuptools,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pymicro-vad";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "rhasspy";
repo = "pymicro-vad";
rev = "refs/tags/${version}";
hash = "sha256-wpsUy+f4eSGlq6L2FOtnA0qJgMh5ZdfiH31aaU61cVw=";
};
build-system = [
pybind11
setuptools
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pymicro_vad" ];
meta = with lib; {
changelog = "https://github.com/rhasspy/pymicro-vad/releases/tag/${version}";
description = "Self-contained voice activity detector";
homepage = "https://github.com/rhasspy/pymicro-vad";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -11748,6 +11748,8 @@ self: super: with self; {
pymetno = callPackage ../development/python-modules/pymetno { };
pymicro-vad = callPackage ../development/python-modules/pymicro-vad { };
pymicrobot = callPackage ../development/python-modules/pymicrobot { };
pymiele = callPackage ../development/python-modules/pymiele { };