2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, bleak
|
|
|
|
, bleak-retry-connector
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymicrobot";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "0.0.6";
|
2022-08-12 12:06:08 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "PyMicroBot";
|
|
|
|
inherit version;
|
2022-09-09 14:08:57 +00:00
|
|
|
hash = "sha256-BvxF/9bnA0oXCAXq1GXoR7AUnPF9hQLxmlOHxfYX+u8=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bleak
|
|
|
|
bleak-retry-connector
|
|
|
|
];
|
|
|
|
|
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"microbot"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library to communicate with MicroBot";
|
|
|
|
homepage = "https://github.com/spycle/pyMicroBot/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|