1{ 2 lib, 3 bleak, 4 bleak-retry-connector, 5 buildPythonPackage, 6 fetchPypi, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "pymicrobot"; 13 version = "0.0.22"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.9"; 17 18 src = fetchPypi { 19 pname = "PyMicroBot"; 20 inherit version; 21 hash = "sha256-8Nkkgznt4JzImJSAbdaX6znhvmgqwOIBjAXVhaMorLk="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ 27 bleak 28 bleak-retry-connector 29 ]; 30 31 # Module has no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ "microbot" ]; 35 36 meta = with lib; { 37 description = "Library to communicate with MicroBot"; 38 homepage = "https://github.com/spycle/pyMicroBot/"; 39 changelog = "https://github.com/spycle/pyMicroBot/releases/tag/v${version}"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}