mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
homeassistant-satellite: init at 2.3.0
Streaming audio satellite for Home Assistant voice pipelines.
This commit is contained in:
parent
e271139378
commit
dd3ddb7b45
56
pkgs/by-name/ho/homeassistant-satellite/package.nix
Normal file
56
pkgs/by-name/ho/homeassistant-satellite/package.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant-satellite";
|
||||
version = "2.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "synesthesiam";
|
||||
repo = "homeassistant-satellite";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-iosutOpkpt0JJIMyALuQSDLj4jk57ITShVyPYlQgMFg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
pulseaudio = with python3.pkgs; [
|
||||
pasimple
|
||||
pulsectl
|
||||
];
|
||||
silerovad = with python3.pkgs; [
|
||||
numpy
|
||||
onnxruntime
|
||||
];
|
||||
webrtc = with python3.pkgs; [
|
||||
webrtc-noise-gain
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"homeassistant_satellite"
|
||||
];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/synesthesiam/homeassistant-satellite/blob/v${version}/CHANGELOG.md";
|
||||
description = "Streaming audio satellite for Home Assistant";
|
||||
homepage = "https://github.com/synesthesiam/homeassistant-satellite";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
mainProgram = "homeassistant-satellite";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user