meshcore-cli: init at 1.5.0
This commit is contained in:
@@ -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";
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user