blob: 1028c8673b4543254f858239c995018c29795e63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{
lib,
bleak,
bleak-retry-connector,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "pymicrobot";
version = "0.0.23";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-fRCXCT3DR42HhYom23hVcWBXFngLPn7UZmyKrjb+MNY=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
bleak
bleak-retry-connector
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "microbot" ];
meta = {
description = "Library to communicate with MicroBot";
homepage = "https://github.com/spycle/pyMicroBot/";
changelog = "https://github.com/spycle/pyMicroBot/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|