python3Packages.lunatone-rest-api-client: init at 0.5.3

This commit is contained in:
Robert Schütz
2025-11-05 10:01:13 -08:00
parent 265b498a9a
commit 30afac0b8a
2 changed files with 49 additions and 0 deletions
@@ -0,0 +1,47 @@
{
aiohttp,
buildPythonPackage,
fetchFromGitLab,
hatchling,
lib,
pydantic,
pytest-aioresponses,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "lunatone-rest-api-client";
version = "0.5.3";
pyproject = true;
src = fetchFromGitLab {
owner = "lunatone-public";
repo = "lunatone-rest-api-client";
tag = "v${version}";
hash = "sha256-pxoD4EAyBmNmTXrhXa+zpnkwrsC+9mervbXzgptSFVo=";
};
build-system = [ hatchling ];
dependencies = [
aiohttp
pydantic
];
pythonImportsCheck = [ "lunatone_rest_api_client" ];
nativeCheckInputs = [
pytest-aioresponses
pytest-asyncio
pytestCheckHook
];
meta = {
changelog = "https://gitlab.com/lunatone-public/lunatone-rest-api-client/-/blob/${src.tag}/CHANGELOG.md";
description = "Client library for accessing the Lunatone REST API";
homepage = "https://gitlab.com/lunatone-public/lunatone-rest-api-client";
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.dotlambda ];
};
}
+2
View File
@@ -8926,6 +8926,8 @@ self: super: with self; {
lunarcalendar = callPackage ../development/python-modules/lunarcalendar { };
lunatone-rest-api-client = callPackage ../development/python-modules/lunatone-rest-api-client { };
lupa = callPackage ../development/python-modules/lupa { };
lupupy = callPackage ../development/python-modules/lupupy { };