19 buildPythonPackage rec {
23 src = fetchFromGitHub {
24 owner = "petretiandrea";
27 sha256 = "sha256-V+9cVBMN8H4oFU51T9BDrLF46xgQHqIsMj8nuPedUGA=";
30 propagatedBuildInputs =
31 [ certifi jsons requests aiohttp semantic-version scapy urllib3 pyyaml ];
33 nativeCheckInputs = [ pytestCheckHook pytest-asyncio async-timeout ];
37 "tests/unit/hub_child/"
38 "tests/unit/test_plug_strip.py"
39 "tests/unit/test_hub.py "
40 "tests/unit/test_klap_protocol.py"
44 description = "Python library to control Tapo Plug P100 devices";
45 homepage = "https://github.com/petretiandrea/plugp100";
46 license = licenses.gpl3;
47 maintainers = with maintainers; [ pyle ];