1{ lib
2, buildPythonPackage
3, fetchPypi
4
5# tests
6, wyoming-faster-whisper
7, wyoming-openwakeword
8, wyoming-piper
9}:
10
11buildPythonPackage rec {
12 pname = "wyoming";
13 version = "1.2.0";
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-mgNhc8PMRrwfvGZEcgIvQ/P2dysdDo2juvZccvb2C/g=";
19 };
20
21 pythonImportsCheck = [
22 "wyoming"
23 ];
24
25 # no tests
26 doCheck = false;
27
28 passthru.tests = {
29 inherit
30 wyoming-faster-whisper
31 wyoming-openwakeword
32 wyoming-piper
33 ;
34 };
35
36 meta = with lib; {
37 description = "Protocol for Rhasspy Voice Assistant";
38 homepage = "https://pypi.org/project/wyoming/";
39 license = licenses.mit;
40 maintainers = with maintainers; [ hexa ];
41 };
42}