Commit 40318787 authored by Jamie Magee's avatar Jamie Magee
Browse files

python3Packages.uhooapi: init at 1.2.6

parent 1fbf1d29
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 ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -20201,6 +20201,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 { };