18 buildPythonPackage rec {
19 pname = "pylutron-caseta";
23 disabled = pythonOlder "3.8";
25 src = fetchFromGitHub {
27 repo = "pylutron-caseta";
29 hash = "sha256-p8c+WY+x5KcF7r6FXeF89JNtAwogRZELqXWgDc2iJek=";
32 build-system = [ hatchling ];
37 ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
39 optional-dependencies = {
51 ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
53 pytestFlagsArray = [ "--asyncio-mode=auto" ];
55 pythonImportsCheck = [ "pylutron_caseta" ];
58 description = "Python module to control Lutron Caseta devices";
59 homepage = "https://github.com/gurumitts/pylutron-caseta";
60 changelog = "https://github.com/gurumitts/pylutron-caseta/blob/v${version}/CHANGELOG.md";
61 license = licenses.asl20;
62 maintainers = with maintainers; [ fab ];