Files
nixpkgs/pkgs/development/python-modules/meshcore/default.nix
T
2025-11-29 04:40:20 +00:00

42 lines
743 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build-system
hatchling,
# dependencies
bleak,
pycayennelpp,
pyserial-asyncio,
}:
buildPythonPackage rec {
pname = "meshcore";
version = "2.2.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-vn/vF4avMDwDLL0EMVrrMWkZrZ1GTiUxGyTBOtKvG1I=";
};
build-system = [ hatchling ];
dependencies = [
bleak
pycayennelpp
pyserial-asyncio
];
pythonImportsCheck = [ "meshcore" ];
meta = with lib; {
description = "Python library for communicating with meshcore companion radios";
homepage = "https://github.com/meshcore-dev/meshcore_py";
license = licenses.mit;
maintainers = [ maintainers.haylin ];
};
}