Loading pkgs/servers/home-assistant/custom-components/gtfs-realtime/package.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib, buildHomeAssistantComponent, fetchFromGitHub, gtfs-station-stop, pytest-cov-stub, pytest-freezer, pytest-homeassistant-custom-component, pytestCheckHook, }: buildHomeAssistantComponent rec { owner = "bcpearce"; domain = "gtfs_realtime"; version = "0.3.2"; src = fetchFromGitHub { owner = "bcpearce"; repo = "homeassistant-gtfs-realtime"; tag = version; hash = "sha256-G3OtDoF+td7IC+zVXJ+c/chdtYMoq6cStZ3dV8eyUZI="; }; dependencies = [ gtfs-station-stop ]; nativeCheckInputs = [ pytest-cov-stub pytest-freezer pytest-homeassistant-custom-component pytestCheckHook ]; disabledTests = [ # upstream snapshot is stale "test_diagnostics" ]; ignoreVersionRequirement = [ "gtfs_station_stop" ]; meta = { changelog = "https://github.com/bcpearce/homeassistant-gtfs-realtime/releases/tag/${src.tag}"; description = "GTFS Realtime transit arrivals for Home Assistant"; homepage = "https://github.com/bcpearce/homeassistant-gtfs-realtime"; license = lib.licenses.mit; maintainers = [ lib.maintainers.stepbrobd ]; }; } Loading
pkgs/servers/home-assistant/custom-components/gtfs-realtime/package.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib, buildHomeAssistantComponent, fetchFromGitHub, gtfs-station-stop, pytest-cov-stub, pytest-freezer, pytest-homeassistant-custom-component, pytestCheckHook, }: buildHomeAssistantComponent rec { owner = "bcpearce"; domain = "gtfs_realtime"; version = "0.3.2"; src = fetchFromGitHub { owner = "bcpearce"; repo = "homeassistant-gtfs-realtime"; tag = version; hash = "sha256-G3OtDoF+td7IC+zVXJ+c/chdtYMoq6cStZ3dV8eyUZI="; }; dependencies = [ gtfs-station-stop ]; nativeCheckInputs = [ pytest-cov-stub pytest-freezer pytest-homeassistant-custom-component pytestCheckHook ]; disabledTests = [ # upstream snapshot is stale "test_diagnostics" ]; ignoreVersionRequirement = [ "gtfs_station_stop" ]; meta = { changelog = "https://github.com/bcpearce/homeassistant-gtfs-realtime/releases/tag/${src.tag}"; description = "GTFS Realtime transit arrivals for Home Assistant"; homepage = "https://github.com/bcpearce/homeassistant-gtfs-realtime"; license = lib.licenses.mit; maintainers = [ lib.maintainers.stepbrobd ]; }; }