Loading pkgs/servers/home-assistant/custom-components/pirate-weather/package.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { 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; }; } Loading
pkgs/servers/home-assistant/custom-components/pirate-weather/package.nix 0 → 100644 +39 −0 Original line number Diff line number Diff line { 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; }; }