diff --git a/pkgs/development/python-modules/meraki/default.nix b/pkgs/development/python-modules/meraki/default.nix new file mode 100644 index 000000000000..4e748e013198 --- /dev/null +++ b/pkgs/development/python-modules/meraki/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchPypi +, aiohttp +, requests +}: + +buildPythonPackage rec { + pname = "meraki"; + version = "1.30.0"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-s26xGwWSWB+qpOTUe8IYo53ywYOaaUWjDznFqpmRlak="; + }; + + propagatedBuildInputs = [ + aiohttp + requests + ]; + + 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"; + license = licenses.mit; + maintainers = with maintainers; [ dylanmtaylor ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 702326b9d3c8..ea6f4d83086f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5953,6 +5953,8 @@ self: super: with self; { memory_profiler = callPackage ../development/python-modules/memory_profiler { }; + meraki = callPackage ../development/python-modules/meraki { }; + mercantile = callPackage ../development/python-modules/mercantile { }; mercurial = toPythonModule (pkgs.mercurial.override {