depot/third_party/nixpkgs/pkgs/development/python-modules/tplink-omada-client/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

44 lines
810 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, hatchling
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "tplink-omada-client";
version = "1.1.0";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "tplink_omada_client";
inherit version;
hash = "sha256-p58W6PIYdimJz8Cdzv/rr8GRW1wLcb0jnhNxkbuQiBo=";
};
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 ];
};
}