python3Packages.aionanoleaf2: init at 1.0.2 (#502419)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user