5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
42 lines
739 B
Nix
42 lines
739 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
|
|
# tests
|
|
, wyoming-faster-whisper
|
|
, wyoming-openwakeword
|
|
, wyoming-piper
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wyoming";
|
|
version = "1.2.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-mgNhc8PMRrwfvGZEcgIvQ/P2dysdDo2juvZccvb2C/g=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"wyoming"
|
|
];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
passthru.tests = {
|
|
inherit
|
|
wyoming-faster-whisper
|
|
wyoming-openwakeword
|
|
wyoming-piper
|
|
;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Protocol for Rhasspy Voice Assistant";
|
|
homepage = "https://pypi.org/project/wyoming/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|