blob: 5bf477d7ab242b5ecd97ce668dc6e8a445281741 (
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
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
aiohttp,
paho-mqtt,
setuptools,
}:
buildPythonPackage rec {
pname = "microbeespy";
version = "0.3.5";
pyproject = true;
src = fetchFromGitHub {
owner = "microBeesTech";
repo = "pythonSDK";
tag = version;
hash = "sha256-h3IbWdZ/iHsNlAr/DfASj4dKNkQ4t1mUUeUIs00L8iU=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
paho-mqtt
];
# Package doesn't include tests
doCheck = false;
pythonImportsCheck = [ "microBeesPy" ];
meta = {
description = "Official microBees Python Library";
homepage = "https://github.com/microBeesTech/pythonSDK";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|