1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 certifi, 6 fetchPypi, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "crownstone-sse"; 13 version = "2.0.5"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 pname = "crownstone_sse"; 20 inherit version; 21 hash = "sha256-RUqo68UAVGV+JmauKsGlp7dG8FzixHBDnr3eho/IQdY="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 aiohttp 28 certifi 29 ]; 30 31 # Tests are only providing coverage 32 doCheck = false; 33 34 pythonImportsCheck = [ "crownstone_sse" ]; 35 36 meta = with lib; { 37 description = "Python module for listening to Crownstone SSE events"; 38 homepage = "https://github.com/Crownstone-Community/crownstone-lib-python-sse"; 39 license = with licenses; [ mit ]; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}