blob: dcdf93cf8cf36acbb2b2be8b8e3afdc20ea7bf6f (
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,
aiohttp,
buildPythonPackage,
fetchPypi,
certifi,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "crownstone-cloud";
version = "1.4.11";
pyproject = true;
src = fetchPypi {
pname = "crownstone_cloud";
inherit version;
hash = "sha256-s84pK52uMupxQfdMldV14V3nj+yVku1Vw13CRX4o08U=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
certifi
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "crownstone_cloud" ];
meta = {
description = "Python module for communicating with Crownstone Cloud and devices";
homepage = "https://github.com/Crownstone-Community/crownstone-lib-python-cloud";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|