biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / wyoming / default.nix
blob3c63c6a739168e30cd7c3cbfa9dcdd47329b1890
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools,
9   # optional-dependencies
10   zeroconf,
12   # tests
13   wyoming-faster-whisper,
14   wyoming-openwakeword,
15   wyoming-piper,
18 buildPythonPackage rec {
19   pname = "wyoming";
20   version = "1.5.4";
21   pyproject = true;
23   src = fetchFromGitHub {
24     owner = "rhasspy";
25     repo = "wyoming";
26     rev = "refs/tags/${version}";
27     hash = "sha256-gx9IbFkwR5fiFFAZTiQKzBbVBJ/RYz29sztgbvAEeRQ=";
28   };
30   nativeBuildInputs = [ setuptools ];
32   optional-dependencies = {
33     zeroconf = [ zeroconf ];
34   };
36   pythonImportsCheck = [ "wyoming" ];
38   # no tests
39   doCheck = false;
41   passthru.tests = {
42     inherit wyoming-faster-whisper wyoming-openwakeword wyoming-piper;
43   };
45   meta = with lib; {
46     changelog = "https://github.com/rhasspy/wyoming/releases/tag/${version}";
47     description = "Protocol for Rhasspy Voice Assistant";
48     homepage = "https://github.com/rhasspy/wyoming";
49     license = licenses.mit;
50     maintainers = with maintainers; [ hexa ];
51   };