From c15de9948fa65c366ac8ed323244694325ce0fc7 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Tue, 4 Apr 2023 20:00:05 -0400 Subject: [PATCH] python3Packages.meraki: init at 1.30.0 Co-authored-by: Lily Foster --- .../python-modules/meraki/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/meraki/default.nix 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 ea03a7473a19..b8baf650d449 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5949,6 +5949,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 {