depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/dwd/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

34 lines
774 B
Nix

{
lib,
fetchFromGitHub,
buildHomeAssistantComponent,
defusedxml,
}:
buildHomeAssistantComponent rec {
owner = "hg1337";
domain = "dwd";
version = "2024.9.0";
src = fetchFromGitHub {
owner = "hg1337";
repo = "homeassistant-dwd";
rev = version;
hash = "sha256-9zS6ufy7tYt1KwFeqdg0Az8xz3x5UzU9ZO9aOyWjdQE=";
};
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
emilylange
];
};
}