mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
58 lines
1 KiB
Nix
58 lines
1 KiB
Nix
{ 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 = "Simple CLI tool to automate and control your Cisco Meraki Dashboard";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dylanmtaylor ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "meraki";
|
|
};
|
|
}
|