Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildHomeAssistantComponent, 4 fetchFromGitHub, 5 aiofiles, 6 shapely, 7 paho-mqtt, 8 pytestCheckHook, 9 pytest-homeassistant-custom-component, 10 pytest-freezer, 11}: 12 13buildHomeAssistantComponent rec { 14 owner = "amitfin"; 15 domain = "oref_alert"; 16 version = "3.1.3"; 17 18 src = fetchFromGitHub { 19 owner = "amitfin"; 20 repo = "oref_alert"; 21 tag = "v${version}"; 22 hash = "sha256-Mr9zNq5KMuzwRAGoxi0P7ruYpKHoxy/DQWWjCisn7tA="; 23 }; 24 25 dependencies = [ 26 aiofiles 27 shapely 28 paho-mqtt 29 ]; 30 31 ignoreVersionRequirement = [ "shapely" ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 pytest-homeassistant-custom-component 36 pytest-freezer 37 ]; 38 39 meta = { 40 changelog = "https://github.com/amitfin/oref_alert/releases/tag/v${version}"; 41 description = "Israeli Oref Alerts"; 42 homepage = "https://github.com/amitfin/oref_alert"; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ kranzes ]; 45 }; 46}