Merge pull request #222266 from dylanmtaylor/meraki-cli

meraki-cli: init at 1.5.0
This commit is contained in:
Lily Foster 2023-04-06 19:43:42 -04:00 committed by GitHub
commit d73c93c9d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,58 @@
{ lib
, argcomplete
, jinja2
, meraki
, rich
, fetchPypi
, buildPythonApplication
, pytestCheckHook
, requests-mock
}:
buildPythonApplication rec {
pname = "meraki-cli";
version = "1.5.0";
format = "setuptools";
src = fetchPypi {
pname = "meraki_cli";
inherit version;
hash = "sha256-YOyeovqRqt6ZMXgLnIxRvPkcW259K8NIBGdb3PwjkMg=";
};
disabledTests = [
# requires files not in PyPI tarball
"TestDocVersions"
"TestHelps"
# requires running "pip install"
"TestUpgrade"
];
propagatedBuildInputs = [
argcomplete
jinja2
meraki
rich
];
nativeBuildInputs = [
pytestCheckHook
];
nativeCheckInputs = [
requests-mock
];
pythonImportsCheck = [
"meraki_cli"
];
meta = with lib; {
homepage = "https://github.com/PackeTsar/meraki-cli";
description = "A simple CLI tool to automate and control your Cisco Meraki Dashboard";
license = licenses.mit;
maintainers = with maintainers; [ dylanmtaylor ];
platforms = platforms.unix;
mainProgram = "meraki";
};
}

View file

@ -18426,6 +18426,8 @@ with pkgs;
mdl = callPackage ../development/tools/misc/mdl { };
meraki-cli = python3Packages.callPackage ../tools/admin/meraki-cli { };
python-matter-server = with python3Packages; toPythonApplication python-matter-server;
minify = callPackage ../development/web/minify { };