2023-04-12 12:48:02 +00:00
|
|
|
{ lib
|
2023-08-22 20:05:09 +00:00
|
|
|
, aiohttp
|
2023-04-12 12:48:02 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2023-08-22 20:05:09 +00:00
|
|
|
, pythonOlder
|
2023-04-12 12:48:02 +00:00
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "meraki";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "1.36.0";
|
2023-04-12 12:48:02 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-08-22 20:05:09 +00:00
|
|
|
hash = "sha256-VkXA5eEIEcyPlyI566rwtmIGauxD4ra0Q4ccH4ojc0U=";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
# All tests require an API key
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"meraki"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Provides all current Meraki dashboard API calls to interface with the Cisco Meraki cloud-managed platform";
|
|
|
|
homepage = "https://github.com/meraki/dashboard-api-python";
|
2023-04-29 16:46:19 +00:00
|
|
|
changelog = "https://github.com/meraki/dashboard-api-python/releases/tag/${version}";
|
2023-04-12 12:48:02 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dylanmtaylor ];
|
|
|
|
};
|
|
|
|
}
|