Merge pull request #186024 from fabaff/microbot
python310Packages.pymicrobot: init at 0.0.1
This commit is contained in:
commit
69a35ff92d
2 changed files with 42 additions and 0 deletions
40
pkgs/development/python-modules/pymicrobot/default.nix
Normal file
40
pkgs/development/python-modules/pymicrobot/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue