python3Packages.python-duco-connectivity: init at 0.5.0 (#529012)

This commit is contained in:
Martin Weinelt
2026-06-09 11:06:55 +00:00
committed by GitHub
3 changed files with 50 additions and 1 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.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ronaldvdmeer";
repo = "python-duco-connectivity";
tag = "v${finalAttrs.version}";
hash = "sha256-AH8EhC0v8GDNvPSUaTownV9d4upvKRiO//2sipGHz9g=";
};
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 ];
};
})
@@ -1496,7 +1496,8 @@
];
"duco" =
ps: with ps; [
]; # missing inputs: python-duco-connectivity
python-duco-connectivity
];
"dunehd" =
ps: with ps; [
pdunehd
@@ -7927,6 +7928,7 @@
"dsmr"
"dsmr_reader"
"duckdns"
"duco"
"dunehd"
"duotecno"
"dwd_weather_warnings"
+2
View File
@@ -15923,6 +15923,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 { };