Files
nixpkgs/pkgs/development/python-modules/meshcore/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
743 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}