anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / pymicrobot / default.nix
blob88360e0a65ed5f245fb5330c3e3eec3d46272544
2   lib,
3   bleak,
4   bleak-retry-connector,
5   buildPythonPackage,
6   fetchPypi,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "pymicrobot";
13   version = "0.0.22";
14   pyproject = true;
16   disabled = pythonOlder "3.9";
18   src = fetchPypi {
19     pname = "PyMicroBot";
20     inherit version;
21     hash = "sha256-8Nkkgznt4JzImJSAbdaX6znhvmgqwOIBjAXVhaMorLk=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   propagatedBuildInputs = [
27     bleak
28     bleak-retry-connector
29   ];
31   # Module has no tests
32   doCheck = false;
34   pythonImportsCheck = [ "microbot" ];
36   meta = with lib; {
37     description = "Library to communicate with MicroBot";
38     homepage = "https://github.com/spycle/pyMicroBot/";
39     changelog = "https://github.com/spycle/pyMicroBot/releases/tag/v${version}";
40     license = licenses.mit;
41     maintainers = with maintainers; [ fab ];
42   };