python3Packages.data-grand-lyon-ha: init at 0.8.0

This commit is contained in:
Jamie Magee
2026-06-06 20:34:40 -07:00
parent c662136454
commit 89b172dfa9
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromCodeberg,
hatchling,
aiohttp,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "data-grand-lyon-ha";
version = "0.8.0";
pyproject = true;
src = fetchFromCodeberg {
owner = "Crocmagnon";
repo = "data_grand_lyon_ha";
tag = "v${finalAttrs.version}";
hash = "sha256-Wpn3Ou8Cm+h5uyROw+6weDYyZHvLXLNpW3aIyKnUueE=";
};
build-system = [ hatchling ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "data_grand_lyon_ha" ];
meta = {
description = "Python library to retrieve data from Grand Lyon open data platform, for Home Assistant";
homepage = "https://codeberg.org/Crocmagnon/data_grand_lyon_ha";
changelog = "https://codeberg.org/Crocmagnon/data_grand_lyon_ha/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
+2
View File
@@ -3624,6 +3624,8 @@ self: super: with self; {
dask-yarn = callPackage ../development/python-modules/dask-yarn { };
data-grand-lyon-ha = callPackage ../development/python-modules/data-grand-lyon-ha { };
databackend = callPackage ../development/python-modules/databackend { };
databases = callPackage ../development/python-modules/databases { };