Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildHomeAssistantComponent, 5 somweb, 6}: 7 8buildHomeAssistantComponent rec { 9 owner = "taarskog"; 10 domain = "somweb"; 11 version = "1.1.0"; 12 13 src = fetchFromGitHub { 14 inherit owner; 15 repo = "home-assistant-component-somweb"; 16 tag = "v${version}"; 17 hash = "sha256-anOcpaGeblFVaP2EFVuxx1EuXnNgxy/QoYqvYJMv1Fo="; 18 }; 19 20 dependencies = [ somweb ]; 21 22 meta = with lib; { 23 changelog = "https://github.com/taarskog/home-assistant-component-somweb/releases/tag/v${version}"; 24 description = "Custom component for Home Assistant to manage garage doors and gates by Sommer through SOMweb"; 25 homepage = "https://github.com/taarskog/home-assistant-component-somweb"; 26 maintainers = with maintainers; [ uvnikita ]; 27 license = licenses.mit; 28 }; 29}