Commit 2bac5de0 authored by Dylan M. Taylor's avatar Dylan M. Taylor Committed by Dylan Taylor
Browse files

meraki-cli: init at 1.5.0

parent c7f79ffa
Loading
Loading
Loading
Loading
+58 −0
Original line number Diff line number Diff line
{ 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";
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18425,6 +18425,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 { };