meshcore-cli: init at 1.5.0

This commit is contained in:
Haylin Moore
2026-06-04 03:28:27 +02:00
committed by Martin Weinelt
parent 785886271f
commit 5ba65480ee
3 changed files with 56 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
{ python3Packages }: with python3Packages; toPythonApplication meshcore-cli
@@ -0,0 +1,53 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
bleak,
meshcore,
prompt-toolkit,
requests,
}:
buildPythonPackage (finalAttrs: {
pname = "meshcore-cli";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "fdlamotte";
repo = "meshcore-cli";
tag = "v${finalAttrs.version}";
hash = "sha256-wby97e9Xulk2pwNJ9mnvKxWlTsWmH4n3zlTtYi7WS6I=";
};
build-system = [ hatchling ];
dependencies = [
meshcore
bleak
prompt-toolkit
requests
];
pythonImportsCheck = [
"meshcore_cli"
];
doCheck = false; # no tests
__structuredAttrs = true;
meta = {
changelog = "https://github.com/meshcore-dev/meshcore-cli/releases/tag/${finalAttrs.src.tag}";
description = "Command line interface to MeshCore node";
homepage = "https://github.com/fdlamotte/meshcore-cli";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.haylin ];
mainProgram = "meshcore-cli";
};
})
+2
View File
@@ -9898,6 +9898,8 @@ self: super: with self; {
meshcore = callPackage ../development/python-modules/meshcore { };
meshcore-cli = callPackage ../development/python-modules/meshcore-cli { };
meshio = callPackage ../development/python-modules/meshio { };
meshlabxml = callPackage ../development/python-modules/meshlabxml { };