Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

58 lines
1.4 KiB
Nix

{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
fetchpatch,
hass-web-proxy-lib,
urlmatch,
pytestCheckHook,
pytest-aiohttp,
pytest-cov-stub,
pytest-freezer,
pytest-homeassistant-custom-component,
pytest-timeout,
}:
buildHomeAssistantComponent rec {
owner = "dermotduffy";
domain = "hass_web_proxy";
version = "0.0.3";
src = fetchFromGitHub {
owner = "dermotduffy";
repo = "hass-web-proxy-integration";
tag = "v${version}";
hash = "sha256-qtiea0L0Zw0CtrUpuPjS/DuBzlV61v6K4SARzHGGgUY=";
};
patches = [
(fetchpatch {
# https://github.com/dermotduffy/hass-web-proxy-integration/pull/106
url = "https://github.com/dermotduffy/hass-web-proxy-integration/commit/77964d49fd6e9d7aefe0cd9c19226a80477dc909.patch";
hash = "sha256-PZBRHVoHXMiELHitmj+YmgVSQiOqEmyP4o3MBc1Yjsg=";
})
];
dependencies = [
hass-web-proxy-lib
urlmatch
];
nativeCheckInputs = [
pytestCheckHook
pytest-aiohttp
pytest-cov-stub
pytest-freezer
pytest-homeassistant-custom-component
pytest-timeout
];
meta = {
changelog = "https://github.com/dermotduffy/hass-web-proxy-integration/releases/tag/${src.tag}";
description = "Home Assistant Web Proxy";
homepage = "https://github.com/dermotduffy/hass-web-proxy-integration";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hexa ];
};
}