10 buildPythonPackage rec {
11 pname = "switchbot-api";
15 disabled = pythonOlder "3.10";
17 src = fetchFromGitHub {
18 owner = "SeraphicCorp";
19 repo = "py-switchbot-api";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-jpm01wDVLgGr5SMaevxiYGfv8tVa1ibRtcHkEK3yb58=";
24 build-system = [ poetry-core ];
26 dependencies = [ aiohttp ];
31 pythonImportsCheck = [ "switchbot_api" ];
34 description = "Asynchronous library to use Switchbot API";
35 homepage = "https://github.com/SeraphicCorp/py-switchbot-api";
36 changelog = "https://github.com/SeraphicCorp/py-switchbot-api/releases/tag/v${version}";
37 license = licenses.mit;
38 maintainers = with maintainers; [ fab ];