10 buildPythonPackage rec {
11 pname = "pysmartthings";
13 format = "setuptools";
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
18 owner = "andrewsayre";
21 hash = "sha256-r+f2+vEXJdQGDlbs/MhraFgEmsAf32PU282blLRLjzc=";
24 propagatedBuildInputs = [
34 substituteInPlace setup.py \
35 --replace "aiohttp>=3.8.0,<4.0.0" "aiohttp<=4.0.0"
38 pythonImportsCheck = [
43 description = "Python library for interacting with the SmartThings cloud API";
44 homepage = "https://github.com/andrewsayre/pysmartthings";
45 changelog = "https://github.com/andrewsayre/pysmartthings/releases/tag/${version}";
46 license = with licenses; [ mit ];
47 maintainers = with maintainers; [ fab ];