c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
46 lines
867 B
Nix
46 lines
867 B
Nix
{ lib
|
|
, bleak
|
|
, bleak-retry-connector
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymicrobot";
|
|
version = "0.0.22";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
pname = "PyMicroBot";
|
|
inherit version;
|
|
hash = "sha256-8Nkkgznt4JzImJSAbdaX6znhvmgqwOIBjAXVhaMorLk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
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/";
|
|
changelog = "https://github.com/spycle/pyMicroBot/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|