depot/third_party/nixpkgs/pkgs/development/python-modules/meraki/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

39 lines
873 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchPypi,
pythonOlder,
requests,
}:
buildPythonPackage rec {
pname = "meraki";
version = "1.48.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-Jl4968yXPseSzbPIG7d7KPWY6It8xgy6Gz9DamlCQd0=";
};
propagatedBuildInputs = [
aiohttp
requests
];
# All tests require an API key
doCheck = false;
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";
changelog = "https://github.com/meraki/dashboard-api-python/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ dylanmtaylor ];
};
}