depot/third_party/nixpkgs/pkgs/development/python-modules/pymicrobot/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

40 lines
732 B
Nix

{ lib
, bleak
, bleak-retry-connector
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymicrobot";
version = "0.0.6";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "PyMicroBot";
inherit version;
hash = "sha256-BvxF/9bnA0oXCAXq1GXoR7AUnPF9hQLxmlOHxfYX+u8=";
};
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 ];
};
}