python3Packages.python-duco-client: init at 0.4.1

This commit is contained in:
Jamie Magee
2026-05-10 10:10:15 -07:00
parent ae48d975aa
commit 0eaa3231cf
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "python-duco-client";
version = "0.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "ronaldvdmeer";
repo = "python-duco-client";
tag = "v${finalAttrs.version}";
hash = "sha256-q7Y+66/vJvm05gHyg8mk0vWYySso3DDRvqw6w9hvn9w=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "duco" ];
meta = {
description = "Async Python client for the Duco ventilation API";
homepage = "https://github.com/ronaldvdmeer/python-duco-client";
changelog = "https://github.com/ronaldvdmeer/python-duco-client/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
+2
View File
@@ -15751,6 +15751,8 @@ self: super: with self; {
python-dropbox-api = callPackage ../development/python-modules/python-dropbox-api { };
python-duco-client = callPackage ../development/python-modules/python-duco-client { };
python-ecobee-api = callPackage ../development/python-modules/python-ecobee-api { };
python-editor = callPackage ../development/python-modules/python-editor { };