{ lib , buildPythonPackage , fetchFromGitHub # build-system , setuptools # optional-dependencies , zeroconf # tests , wyoming-faster-whisper , wyoming-openwakeword , wyoming-piper }: buildPythonPackage rec { pname = "wyoming"; version = "1.4.0"; pyproject = true; src = fetchFromGitHub { owner = "rhasspy"; repo = "wyoming"; rev = "refs/tags/${version}"; hash = "sha256-59/6tRHHAu31VFuKhj2LCEUqkdVi81fu5POuGJmw9bw="; }; 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 ]; }; }