Merge pull request #186024 from fabaff/microbot

python310Packages.pymicrobot: init at 0.0.1
This commit is contained in:
Fabian Affolter 2022-08-11 09:05:25 +02:00 committed by GitHub
commit 69a35ff92d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -7814,6 +7814,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 { };