python3Packages.aionanoleaf2: init at 1.0.2

This commit is contained in:
Jamie Magee
2026-03-29 22:46:20 -07:00
parent a52afa73af
commit f18f9892d1
2 changed files with 39 additions and 0 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 ];
};
})
+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 { };