mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
pymodbus,
|
|
buildHomeAssistantComponent,
|
|
fetchFromGitHub,
|
|
async-timeout,
|
|
aiohttp,
|
|
websocket-client,
|
|
beautifulsoup4,
|
|
pytest9_0CheckHook,
|
|
pytest-homeassistant-custom-component,
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "AN3Orik";
|
|
domain = "systemair";
|
|
version = "1.0.37";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit owner;
|
|
repo = "systemair";
|
|
tag = "v${version}";
|
|
hash = "sha256-Evo7H6Np1QVjqQBifav1WhNiFDY/NIdFI/bADNZJo9Q=";
|
|
};
|
|
|
|
ignoreVersionRequirement = [
|
|
"pymodbus"
|
|
];
|
|
|
|
dependencies = [
|
|
pymodbus
|
|
async-timeout
|
|
aiohttp
|
|
websocket-client
|
|
beautifulsoup4
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest9_0CheckHook
|
|
pytest-homeassistant-custom-component
|
|
];
|
|
|
|
pytestFlags = [
|
|
"-Wignore::pytest.PytestRemovedIn9Warning"
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/AN3Orik/systemair/releases/tag/v${version}";
|
|
description = "Home Assistant component for Systemair SAVE ventilation units";
|
|
homepage = "https://github.com/AN3Orik/systemair";
|
|
maintainers = with lib.maintainers; [ uvnikita ];
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|