anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / tools / audio / wyoming / piper.nix
blobed79d289c0d86c00968d8454bf6665c4bc8404c6
1 { lib
2 , python3Packages
3 , fetchFromGitHub
4 }:
6 python3Packages.buildPythonApplication rec {
7   pname = "wyoming-piper";
8   version = "1.5.0";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "rhasspy";
13     repo = "wyoming-piper";
14     rev = "v${version}";
15     hash = "sha256-aI1CWtSpSPX1aK4UR/lsCQZQwNs7qOLKfatlSomJx1Q=";
16   };
18   nativeBuildInputs = with python3Packages; [
19     setuptools
20   ];
22   pythonRelaxDeps = [
23     "wyoming"
24   ];
26   propagatedBuildInputs = with python3Packages; [
27     wyoming
28   ];
30   pythonImportsCheck = [
31     "wyoming_piper"
32   ];
34   doCheck = false;
36   meta = with lib; {
37     changelog = "https://github.com/rhasspy/wyoming-piper/v${version}/master/CHANGELOG.md";
38     description = "Wyoming Server for Piper";
39     mainProgram = "wyoming-piper";
40     homepage = "https://github.com/rhasspy/wyoming-piper";
41     license = licenses.mit;
42     maintainers = with maintainers; [ hexa ];
43   };