home-assistant-custom-components.dwd: init at 2024.4.0

This commit is contained in:
Martin Weinelt 2024-08-17 15:41:52 +02:00
parent 6fe849b249
commit 6a582916c3
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 33 additions and 0 deletions

View File

@ -12,6 +12,8 @@
better_thermostat = callPackage ./better_thermostat {};
dwd = callPackage ./dwd { };
elevenlabs_tts = callPackage ./elevenlabs_tts {};
emporia_vue = callPackage ./emporia_vue {};

View File

@ -0,0 +1,31 @@
{
lib,
fetchFromGitHub,
buildHomeAssistantComponent,
defusedxml,
}:
buildHomeAssistantComponent rec {
owner = "hg1337";
domain = "dwd";
version = "2024.4.0";
src = fetchFromGitHub {
owner = "hg1337";
repo = "homeassistant-dwd";
rev = version;
hash = "sha256-2bmLEBt6031p9SN855uunq7HrRJ9AFokw8t4CSBidTM=";
};
dependencies = [ defusedxml ];
# defusedxml version mismatch
dontCheckManifest = true;
meta = with lib; {
description = "Custom component for Home Assistant that integrates weather data (measurements and forecasts) of Deutscher Wetterdienst";
homepage = "https://github.com/hg1337/homeassistant-dwd";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}