Files
nixpkgs/pkgs/development/python-modules/meraki/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

56 lines
1.0 KiB
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
jinja2,
poetry-core,
pytest,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "meraki";
version = "2.0.3";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "meraki";
repo = "dashboard-api-python";
tag = version;
hash = "sha256-dAy295DB213TotVkVGvLYIzzHk1M9PycMNgyX+wD7ms=";
};
pythonRelaxDeps = [
"pytest"
"setuptools"
];
build-system = [ poetry-core ];
dependencies = [
aiohttp
jinja2
pytest
requests
setuptools
];
# All tests require an API key
doCheck = false;
pythonImportsCheck = [ "meraki" ];
meta = {
description = "Cisco Meraki cloud-managed platform dashboard API python library";
homepage = "https://github.com/meraki/dashboard-api-python";
changelog = "https://github.com/meraki/dashboard-api-python/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dylanmtaylor ];
};
}