mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
{
|
|
buildHomeAssistantComponent,
|
|
fetchFromGitHub,
|
|
lib,
|
|
|
|
# dependencies
|
|
mypyllant,
|
|
voluptuous,
|
|
|
|
# tests
|
|
aioresponses,
|
|
polyfactory,
|
|
pytest-cov-stub,
|
|
pytest-homeassistant-custom-component,
|
|
pytest-xdist,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "signalkraft";
|
|
domain = "mypyllant";
|
|
version = "0.9.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "signalkraft";
|
|
repo = "mypyllant-component";
|
|
tag = "v${version}";
|
|
hash = "sha256-OUNWju1g3vBjrUd/ZzQCMS08PWUyQUMnUkqElss9KaQ=";
|
|
};
|
|
|
|
dependencies = [
|
|
mypyllant
|
|
voluptuous
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
polyfactory
|
|
pytest-cov-stub
|
|
pytest-homeassistant-custom-component
|
|
pytest-xdist
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
description = "Unofficial Home Assistant integration for interacting with myVAILLANT";
|
|
changelog = "https://github.com/signalkraft/mypyllant-component/releases/tag/${src.tag}";
|
|
homepage = "https://github.com/signalkraft/mypyllant-component";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ urbas ];
|
|
};
|
|
}
|