nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 1.0 kB view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 jinja2, 7 poetry-core, 8 pytest, 9 requests, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "meraki"; 15 version = "2.1.0"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "meraki"; 20 repo = "dashboard-api-python"; 21 tag = version; 22 hash = "sha256-B9eda7ccpCRGuBB2XfRI/Fz+MVBUIjFZzHYWfckQT2g="; 23 }; 24 25 pythonRelaxDeps = [ 26 "pytest" 27 "setuptools" 28 ]; 29 30 build-system = [ poetry-core ]; 31 32 dependencies = [ 33 aiohttp 34 jinja2 35 pytest 36 requests 37 setuptools 38 ]; 39 40 # All tests require an API key 41 doCheck = false; 42 43 pythonImportsCheck = [ "meraki" ]; 44 45 meta = { 46 description = "Cisco Meraki cloud-managed platform dashboard API python library"; 47 homepage = "https://github.com/meraki/dashboard-api-python"; 48 changelog = "https://github.com/meraki/dashboard-api-python/releases/tag/${src.tag}"; 49 license = lib.licenses.mit; 50 maintainers = with lib.maintainers; [ dylanmtaylor ]; 51 }; 52}