python3Packages.aionanoleaf2: init at 1.0.2 (#502419)

This commit is contained in:
dotlambda
2026-03-30 06:19:19 +00:00
committed by GitHub
3 changed files with 42 additions and 1 deletions
@@ -0,0 +1,37 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "aionanoleaf2";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "loebi-ch";
repo = "aionanoleaf2";
tag = "v${finalAttrs.version}";
hash = "sha256-Auh69JY07nnZKRUGPkaqo4DjZNeNkY8FIlsjch3JLu4=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "aionanoleaf2" ];
meta = {
description = "Async Python package for the Nanoleaf API";
homepage = "https://github.com/loebi-ch/aionanoleaf2";
changelog = "https://github.com/loebi-ch/aionanoleaf2/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.lgpl3Plus;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
@@ -4090,7 +4090,8 @@
];
"nanoleaf" =
ps: with ps; [
]; # missing inputs: aionanoleaf2
aionanoleaf2
];
"nasweb" =
ps: with ps; [
webio-api
@@ -7835,6 +7836,7 @@
"myuplink"
"nam"
"namecheapdns"
"nanoleaf"
"nasweb"
"neato"
"nederlandse_spoorwegen"
+2
View File
@@ -414,6 +414,8 @@ self: super: with self; {
aionanoleaf = callPackage ../development/python-modules/aionanoleaf { };
aionanoleaf2 = callPackage ../development/python-modules/aionanoleaf2 { };
aionotion = callPackage ../development/python-modules/aionotion { };
aiontfy = callPackage ../development/python-modules/aiontfy { };