Unverified Commit 3ce17643 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.uhooapi: init at 1.2.6 (#494485)

parents c0720084 76fb309e
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  aiohttp,
  pytestCheckHook,
  pytest-asyncio,
  pytest-cov-stub,
  aioresponses,
}:

buildPythonPackage (finalAttrs: {
  pname = "uhooapi";
  version = "1.2.6";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "getuhoo";
    repo = "uhooapi";
    tag = "v${finalAttrs.version}";
    hash = "sha256-DEb54ZoYe9CaxpCoQVpqbQlaZkDLuqRAjiu8SqiI6b0=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-asyncio
    pytest-cov-stub
    aioresponses
  ];

  pythonImportsCheck = [ "uhooapi" ];

  meta = {
    description = "Python client for uHoo APIs";
    homepage = "https://github.com/getuhoo/uhooapi";
    changelog = "https://github.com/getuhoo/uhooapi/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
})
+3 −1
Original line number Diff line number Diff line
@@ -6495,7 +6495,8 @@
      ];
    "uhoo" =
      ps: with ps; [
      ]; # missing inputs: uhooapi
        uhooapi
      ];
    "uk_transport" =
      ps: with ps; [
      ];
@@ -8103,6 +8104,7 @@
    "twilio"
    "twinkly"
    "twitch"
    "uhoo"
    "uk_transport"
    "ukraine_alarm"
    "unifi"
+2 −0
Original line number Diff line number Diff line
@@ -20240,6 +20240,8 @@ self: super: with self; {
  uhi = callPackage ../development/python-modules/uhi { };
  uhooapi = callPackage ../development/python-modules/uhooapi { };
  uiprotect = callPackage ../development/python-modules/uiprotect { };
  ujson = callPackage ../development/python-modules/ujson { };