python310Packages.tplink-omada-client: init at 1.0.1

This commit is contained in:
Fabian Affolter 2022-11-12 21:18:20 +01:00
parent ead02ae273
commit 5c134e6342
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, hatchling
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "tplink-omada-client";
version = "1.0.1";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "tplink_omada_client";
inherit version;
hash = "sha256-72Oxrjn1KNasdW9XITuqM5L59/5/R/BvM175d18eFmI=";
};
nativeBuildInputs = [
hatchling
];
propagatedBuildInputs = [
aiohttp
];
# Module have no tests
doCheck = false;
pythonImportsCheck = [
"tplink_omada_client"
];
meta = with lib; {
description = "Library for the TP-Link Omada SDN Controller API";
homepage = "https://github.com/MarkGodwin/tplink-omada-api";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -11215,6 +11215,8 @@ self: super: with self; {
tox = callPackage ../development/python-modules/tox { };
tplink-omada-client = callPackage ../development/python-modules/tplink-omada-client { };
tpm2-pytss = callPackage ../development/python-modules/tpm2-pytss { };
tqdm = callPackage ../development/python-modules/tqdm { };