mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 15:14:13 +00:00
python312Packages.pymicro-vad: init 1.0.1
Self-contained voice activity detector.
This commit is contained in:
parent
72713a60b7
commit
1c299b4e8c
42
pkgs/development/python-modules/pymicro-vad/default.nix
Normal file
42
pkgs/development/python-modules/pymicro-vad/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user