python3Packages.lojack-api: init at 0.7.2

This commit is contained in:
Jamie Magee
2026-04-05 23:24:16 -07:00
parent 5de70f8992
commit 50975bda6c
2 changed files with 45 additions and 0 deletions
@@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
aioresponses,
pytestCheckHook,
pytest-asyncio,
}:
buildPythonPackage (finalAttrs: {
pname = "lojack-api";
version = "0.7.2";
pyproject = true;
src = fetchFromGitHub {
owner = "devinslick";
repo = "lojack_api";
tag = finalAttrs.version;
hash = "sha256-QVXiIN+gb/jm5H49ByT8+jVgl3RVKPSgpwca04C6Keo=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
aioresponses
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "lojack_api" ];
meta = {
description = "Async Python client library for the Spireon LoJack API";
homepage = "https://github.com/devinslick/lojack_api";
changelog = "https://github.com/devinslick/lojack_api/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
+2
View File
@@ -9281,6 +9281,8 @@ self: super: with self; {
logzero = callPackage ../development/python-modules/logzero { };
lojack-api = callPackage ../development/python-modules/lojack-api { };
lomond = callPackage ../development/python-modules/lomond { };
london-tube-status = callPackage ../development/python-modules/london-tube-status { };