1{ lib
2, aiohttp
3, buildPythonPackage
4, fetchPypi
5, pythonOlder
6, requests
7}:
8
9buildPythonPackage rec {
10 pname = "meraki";
11 version = "1.39.0";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-B3+2KnRXWkB83Sy/NH9kJwgSha9L17tx37fFwBjT3Mw=";
19 };
20
21 propagatedBuildInputs = [
22 aiohttp
23 requests
24 ];
25
26 # All tests require an API key
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "meraki"
31 ];
32
33 meta = with lib; {
34 description = "Provides all current Meraki dashboard API calls to interface with the Cisco Meraki cloud-managed platform";
35 homepage = "https://github.com/meraki/dashboard-api-python";
36 changelog = "https://github.com/meraki/dashboard-api-python/releases/tag/${version}";
37 license = licenses.mit;
38 maintainers = with maintainers; [ dylanmtaylor ];
39 };
40}