Merge pull request #200935 from fabaff/tplink-omada-client
python310Packages.tplink-omada-client: init at 1.0.1
This commit is contained in:
commit
929980e4dd
2 changed files with 46 additions and 0 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue