depot/third_party/nixpkgs/pkgs/development/python-modules/pymicrobot/default.nix
Default email 5557ff764c Project import generated by Copybara.
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
2023-02-22 11:55:15 +01:00

41 lines
813 B
Nix

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