Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildHomeAssistantComponent, 5 defusedxml, 6}: 7 8buildHomeAssistantComponent rec { 9 owner = "hg1337"; 10 domain = "dwd"; 11 version = "2025.5.0"; 12 13 src = fetchFromGitHub { 14 owner = "hg1337"; 15 repo = "homeassistant-dwd"; 16 rev = version; 17 hash = "sha256-CuoHVgk4jWDEe3OkzFCok8YqVkWLJF6Rl7i/SDeSU50="; 18 }; 19 20 dependencies = [ defusedxml ]; 21 22 # defusedxml version mismatch 23 dontCheckManifest = true; 24 25 meta = with lib; { 26 description = "Custom component for Home Assistant that integrates weather data (measurements and forecasts) of Deutscher Wetterdienst"; 27 homepage = "https://github.com/hg1337/homeassistant-dwd"; 28 license = licenses.asl20; 29 maintainers = with maintainers; [ 30 hexa 31 emilylange 32 ]; 33 }; 34}