Files
nixpkgs/pkgs/development/python-modules/meshcore/default.nix
2025-10-08 07:09:48 +00:00

42 lines
743 B
Nix

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