mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 10:46:31 +01:00
41 lines
741 B
Nix
41 lines
741 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
# build-system
|
|
hatchling,
|
|
|
|
# dependencies
|
|
bleak,
|
|
pycayennelpp,
|
|
pyserial-asyncio,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "meshcore";
|
|
version = "2.2.5";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-FYGBUKaoOAiDwrJyNW+rrQurEH87lDjP1mW8nKA9HRc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|