1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchPypi, 6 certifi, 7 pythonOlder, 8 pytestCheckHook, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "crownstone-cloud"; 14 version = "1.4.11"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchPypi { 20 pname = "crownstone_cloud"; 21 inherit version; 22 hash = "sha256-s84pK52uMupxQfdMldV14V3nj+yVku1Vw13CRX4o08U="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 aiohttp 29 certifi 30 ]; 31 32 nativeCheckInputs = [ pytestCheckHook ]; 33 34 pythonImportsCheck = [ "crownstone_cloud" ]; 35 36 meta = with lib; { 37 description = "Python module for communicating with Crownstone Cloud and devices"; 38 homepage = "https://github.com/Crownstone-Community/crownstone-lib-python-cloud"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}