python3Packages.python-duco-connectivity: init at 0.6.0

This commit is contained in:
Jamie Magee
2026-06-06 20:43:28 -07:00
parent 33ee0e2cc9
commit a3bb3a2f50
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
aioresponses,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "python-duco-connectivity";
version = "0.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ronaldvdmeer";
repo = "python-duco-connectivity";
tag = "v${finalAttrs.version}";
hash = "sha256-4lXK5os7OddLJUW+iBOFM8h1RniDMugt3FMhwaGh0e8=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "duco_connectivity" ];
meta = {
description = "Async HTTP client for the local Duco Connectivity API";
homepage = "https://github.com/ronaldvdmeer/python-duco-connectivity";
changelog = "https://github.com/ronaldvdmeer/python-duco-connectivity/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
+2
View File
@@ -15922,6 +15922,8 @@ self: super: with self; {
python-duco-client = callPackage ../development/python-modules/python-duco-client { };
python-duco-connectivity = callPackage ../development/python-modules/python-duco-connectivity { };
python-ecobee-api = callPackage ../development/python-modules/python-ecobee-api { };
python-editor = callPackage ../development/python-modules/python-editor { };