python310Packages.pymicrobot: init at 0.0.1

This commit is contained in:
Fabian Affolter 2022-08-11 02:18:45 +02:00
parent d6417bd306
commit 6c70358ad4
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, bleak
, bleak-retry-connector
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymicrobot";
version = "0.0.1";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "PyMicroBot";
inherit version;
hash = "sha256-I43a75jEU/jvjAEUBXeTZGGBy0pne1P3DA9Gbzy+c34=";
};
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 ];
};
}

View file

@ -7806,6 +7806,8 @@ in {
pymetno = callPackage ../development/python-modules/pymetno { };
pymicrobot = callPackage ../development/python-modules/pymicrobot { };
pymitv = callPackage ../development/python-modules/pymitv { };
pymfy = callPackage ../development/python-modules/pymfy { };