Unverified Commit d433c6fb authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python3Packages.wyoming: 1.7.2 -> 1.8.0

parent a12a0bba
Loading
Loading
Loading
Loading
+19 −8
Original line number Diff line number Diff line
@@ -7,9 +7,13 @@
  setuptools,

  # optional-dependencies
  flask,
  swagger-ui-py,
  zeroconf,

  # tests
  pytest-asyncio,
  pytestCheckHook,
  wyoming-faster-whisper,
  wyoming-openwakeword,
  wyoming-piper,
@@ -17,35 +21,42 @@

buildPythonPackage rec {
  pname = "wyoming";
  version = "1.7.2";
  version = "1.8.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "rhasspy";
    owner = "OHF-Voice";
    repo = "wyoming";
    tag = version;
    hash = "sha256-tLwMysBxNPk5ztkwuuOhChhGgY+uEE9uA4S5ZVlVtY0=";
    tag = "v${version}";
    hash = "sha256-s1wYGqoTIsKj3u99/9KdKZmzUGzGeYq1TJHOkOVwkHQ=";
  };

  build-system = [ setuptools ];

  optional-dependencies = {
    http = [
      flask
      swagger-ui-py
    ];
    zeroconf = [ zeroconf ];
  };

  pythonImportsCheck = [ "wyoming" ];

  # no tests
  doCheck = false;
  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
  ]
  ++ lib.flatten (lib.attrValues optional-dependencies);

  passthru.tests = {
    inherit wyoming-faster-whisper wyoming-openwakeword wyoming-piper;
  };

  meta = with lib; {
    changelog = "https://github.com/rhasspy/wyoming/releases/tag/${src.tag}";
    changelog = "https://github.com/OHF-Voice/wyoming/releases/tag/${src.tag}";
    description = "Protocol for Rhasspy Voice Assistant";
    homepage = "https://github.com/rhasspy/wyoming";
    homepage = "https://github.com/OHF-Voice/wyoming";
    license = licenses.mit;
    maintainers = with maintainers; [ hexa ];
  };