42 lines
741 B
Nix
42 lines
741 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
# build-system
|
|
hatchling,
|
|
|
|
# dependencies
|
|
bleak,
|
|
pycayennelpp,
|
|
pyserial-asyncio,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "meshcore";
|
|
version = "2.2.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-lmMflAlrNnfsc10J3CBxor9ftHK10bWyGTbjASJv82s=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|