Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pymicrobot / default.nix
blob22581f493b73bfcf17b88e28e76b99fc89bc0dc8
1 { lib
2 , bleak
3 , bleak-retry-connector
4 , buildPythonPackage
5 , fetchPypi
6 , pythonOlder
7 , setuptools
8 }:
10 buildPythonPackage rec {
11   pname = "pymicrobot";
12   version = "0.0.22";
13   pyproject = true;
15   disabled = pythonOlder "3.9";
17   src = fetchPypi {
18     pname = "PyMicroBot";
19     inherit version;
20     hash = "sha256-8Nkkgznt4JzImJSAbdaX6znhvmgqwOIBjAXVhaMorLk=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     bleak
29     bleak-retry-connector
30   ];
32   # Module has no tests
33   doCheck = false;
35   pythonImportsCheck = [
36     "microbot"
37   ];
39   meta = with lib; {
40     description = "Library to communicate with MicroBot";
41     homepage = "https://github.com/spycle/pyMicroBot/";
42     changelog = "https://github.com/spycle/pyMicroBot/releases/tag/v${version}";
43     license = licenses.mit;
44     maintainers = with maintainers; [ fab ];
45   };