depot/third_party/nixpkgs/pkgs/development/python-modules/pymicrobot/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

40 lines
732 B
Nix

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