home-assistant-custom-components.pirate-weather: init at 1.8.3 (#447709)

This commit is contained in:
Martin Weinelt
2025-12-26 18:09:21 +00:00
committed by GitHub
@@ -0,0 +1,39 @@
{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
nix-update-script,
# Test dependencies
pytestCheckHook,
pytest-homeassistant-custom-component,
pytest-asyncio,
}:
buildHomeAssistantComponent rec {
owner = "Pirate-Weather";
domain = "pirateweather";
version = "1.8.3";
src = fetchFromGitHub {
inherit owner;
repo = "pirate-weather-ha";
tag = "v${version}";
hash = "sha256-0IEuMuzTj6puUXYr815ZOn5pqu11R+uhKKsSVtxMvHM=";
};
nativeCheckInputs = [
pytestCheckHook
pytest-homeassistant-custom-component
pytest-asyncio
];
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/Pirate-Weather/pirate-weather-ha/releases/tag/${src.tag}";
description = "Replacement for the default Dark Sky Home Assistant integration using Pirate Weather";
homepage = "https://github.com/Pirate-Weather/pirate-weather-ha";
maintainers = with lib.maintainers; [ CodedNil ];
license = lib.licenses.asl20;
};
}