home-assistant-custom-components.gtfs-realtime: init at 0.3.2
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user