at 23.11-beta 58 lines 1.1 kB view raw
1{ lib 2, argcomplete 3, jinja2 4, meraki 5, rich 6, fetchPypi 7, buildPythonApplication 8, pytestCheckHook 9, requests-mock 10}: 11 12buildPythonApplication rec { 13 pname = "meraki-cli"; 14 version = "1.5.0"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 pname = "meraki_cli"; 19 inherit version; 20 hash = "sha256-YOyeovqRqt6ZMXgLnIxRvPkcW259K8NIBGdb3PwjkMg="; 21 }; 22 23 disabledTests = [ 24 # requires files not in PyPI tarball 25 "TestDocVersions" 26 "TestHelps" 27 # requires running "pip install" 28 "TestUpgrade" 29 ]; 30 31 propagatedBuildInputs = [ 32 argcomplete 33 jinja2 34 meraki 35 rich 36 ]; 37 38 nativeBuildInputs = [ 39 pytestCheckHook 40 ]; 41 42 nativeCheckInputs = [ 43 requests-mock 44 ]; 45 46 pythonImportsCheck = [ 47 "meraki_cli" 48 ]; 49 50 meta = with lib; { 51 homepage = "https://github.com/PackeTsar/meraki-cli"; 52 description = "A simple CLI tool to automate and control your Cisco Meraki Dashboard"; 53 license = licenses.mit; 54 maintainers = with maintainers; [ dylanmtaylor ]; 55 platforms = platforms.unix; 56 mainProgram = "meraki"; 57 }; 58}