blob: 1545c54d96dd9c57791cd8a9549174b0e7fbe01c (
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
41
|
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
hatchling,
# dependencies
bleak,
pycayennelpp,
pyserial-asyncio,
}:
buildPythonPackage rec {
pname = "meshcore";
version = "2.2.4";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-uI61YDj1zYNsdcUZ2VoHQz0Xr5ja/tNH6UyBUjL8B6w=";
};
build-system = [ hatchling ];
dependencies = [
bleak
pycayennelpp
pyserial-asyncio
];
pythonImportsCheck = [ "meshcore" ];
meta = {
description = "Python library for communicating with meshcore companion radios";
homepage = "https://github.com/meshcore-dev/meshcore_py";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.haylin ];
};
}
|