depot/third_party/nixpkgs/pkgs/development/python-modules/meraki/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

40 lines
871 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "meraki";
version = "1.43.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-llKC5bBVDlSfVDML0a9HEijM+3H5pQVuLxdukJ6sPR0=";
};
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 ];
};
}