20 buildPythonPackage rec {
21 pname = "python-kasa";
25 disabled = pythonOlder "3.8";
27 src = fetchFromGitHub {
28 owner = "python-kasa";
30 rev = "refs/tags/${version}";
31 hash = "sha256-iCqJY3qkA3ZVXTCfxvQoaZsaqGui8PwKGAmLXKZgLJs=";
38 propagatedBuildInputs = [
54 passthru.optional-dependencies = {
66 # Skip the examples tests
67 "kasa/tests/test_readme_examples.py"
70 pythonImportsCheck = [
75 description = "Python API for TP-Link Kasa Smarthome products";
77 homepage = "https://python-kasa.readthedocs.io/";
78 changelog = "https://github.com/python-kasa/python-kasa/blob/${version}/CHANGELOG.md";
79 license = licenses.gpl3Plus;
80 maintainers = with maintainers; [ fab ];