Merge pull request #200935 from fabaff/tplink-omada-client

python310Packages.tplink-omada-client: init at 1.0.1
This commit is contained in:
Fabian Affolter 2022-11-13 10:59:43 +01:00 committed by GitHub
commit 929980e4dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -11221,6 +11221,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 { };