blob: debc6ad7bba1f84c067c629ecc1e7fa658d694bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{ lib
, buildPythonPackage
, fetchFromGitHub
# build-system
, setuptools
# optional-dependencies
, zeroconf
# tests
, wyoming-faster-whisper
, wyoming-openwakeword
, wyoming-piper
}:
buildPythonPackage rec {
pname = "wyoming";
version = "1.5.2";
pyproject = true;
src = fetchFromGitHub {
owner = "rhasspy";
repo = "wyoming";
rev = "refs/tags/${version}";
hash = "sha256-2bc5coKL5KlTeL9fdghPmRF66NXfimHOKGtE2yPXgrA=";
};
nativeBuildInputs = [
setuptools
];
passthru.optional-dependencies = {
zeroconf = [
zeroconf
];
};
pythonImportsCheck = [
"wyoming"
];
# no tests
doCheck = false;
passthru.tests = {
inherit
wyoming-faster-whisper
wyoming-openwakeword
wyoming-piper
;
};
meta = with lib; {
changelog = "https://github.com/rhasspy/wyoming/releases/tag/${version}";
description = "Protocol for Rhasspy Voice Assistant";
homepage = "https://github.com/rhasspy/wyoming";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}
|