depot/third_party/nixpkgs/pkgs/development/python-modules/meraki/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

40 lines
871 B
Nix

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