17 buildPythonPackage rec {
18 pname = "pyswitchbot";
22 disabled = pythonOlder "3.8";
24 src = fetchFromGitHub {
25 owner = "Danielhiversen";
28 hash = "sha256-On/FKfdiqx28MCx1kCcstb90iT1e20c84hHxdQSIark=";
31 build-system = [ setuptools ];
47 pythonImportsCheck = [ "switchbot" ];
50 description = "Python library to control Switchbot IoT devices";
51 homepage = "https://github.com/Danielhiversen/pySwitchbot";
52 changelog = "https://github.com/Danielhiversen/pySwitchbot/releases/tag/${version}";
53 license = with licenses; [ mit ];
54 maintainers = with maintainers; [ fab ];
55 platforms = platforms.linux;