Unverified Commit a648d33c authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.aionanoleaf2: init at 1.0.2 (#502419)

parents c3c59de0 a1b092f7
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  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 ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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 { };