Files
nixpkgs/pkgs/development/python-modules/meshcore/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

42 lines
741 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 = {
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 ];
};
}