chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ho / homeassistant-satellite / package.nix
blob40a489aa68de03eda9122fd939d7e83a56c1e6cd
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "homeassistant-satellite";
8   version = "2.3.0";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "synesthesiam";
13     repo = "homeassistant-satellite";
14     rev = "v${version}";
15     hash = "sha256-iosutOpkpt0JJIMyALuQSDLj4jk57ITShVyPYlQgMFg=";
16   };
18   nativeBuildInputs = with python3.pkgs; [
19     setuptools
20   ];
22   pythonRelaxDeps = [
23     "aiohttp"
24   ];
26   propagatedBuildInputs = with python3.pkgs; [
27     aiohttp
28   ];
30   optional-dependencies = {
31     pulseaudio = with python3.pkgs; [
32       pasimple
33       pulsectl
34     ];
35     silerovad = with python3.pkgs; [
36       numpy
37       onnxruntime
38     ];
39     webrtc = with python3.pkgs; [
40       webrtc-noise-gain
41     ];
42   };
44   pythonImportsCheck = [
45     "homeassistant_satellite"
46   ];
48   # no tests
49   doCheck = false;
51   meta = with lib; {
52     changelog = "https://github.com/synesthesiam/homeassistant-satellite/blob/v${version}/CHANGELOG.md";
53     description = "Streaming audio satellite for Home Assistant";
54     homepage = "https://github.com/synesthesiam/homeassistant-satellite";
55     license = licenses.mit;
56     maintainers = with maintainers; [ hexa ];
57     mainProgram = "homeassistant-satellite";
58   };