mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #335372 from mweinelt/dwd-2024.4.0
home-assistant-custom-components.dwd: init at 2024.4.0
This commit is contained in:
commit
e54cd8e589
@ -12,6 +12,8 @@
|
||||
|
||||
better_thermostat = callPackage ./better_thermostat {};
|
||||
|
||||
dwd = callPackage ./dwd { };
|
||||
|
||||
elevenlabs_tts = callPackage ./elevenlabs_tts {};
|
||||
|
||||
emporia_vue = callPackage ./emporia_vue {};
|
||||
|
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user