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