biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / audio / wyoming / faster-whisper.nix
blob4807e50adb429dc172050d4c67d2096200115d55
1 { lib
2 , python3Packages
3 , fetchFromGitHub
4 }:
6 python3Packages.buildPythonApplication rec {
7   pname = "wyoming-faster-whisper";
8   version = "2.1.0";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "rhasspy";
13     repo = "wyoming-faster-whisper";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-zWa872YkPh8B7dE//leth+ixIa1wHSRcjkvH2lXzolc=";
16   };
18   nativeBuildInputs = with python3Packages; [
19     setuptools
20   ];
22   pythonRelaxDeps = [
23     "faster-whisper"
24     "wyoming"
25   ];
27   propagatedBuildInputs = with python3Packages; [
28     faster-whisper
29     wyoming
30   ];
32   pythonImportsCheck = [
33     "wyoming_faster_whisper"
34   ];
36   # no tests
37   doCheck = false;
39   meta = with lib; {
40     changelog = "https://github.com/rhasspy/wyoming-faster-whisper/releases/tag/v${version}";
41     description = "Wyoming Server for Faster Whisper";
42     homepage = "https://github.com/rhasspy/wyoming-faster-whisper";
43     license = licenses.mit;
44     maintainers = with maintainers; [ hexa ];
45   };