mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-10 23:33:47 +00:00
44 lines
910 B
Nix
44 lines
910 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "meraki";
|
|
version = "3.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "meraki";
|
|
repo = "dashboard-api-python";
|
|
tag = version;
|
|
hash = "sha256-XP0wvq9CoUpjGsIKmzgLrAmxhJ0F2mHDXJZdeU+AEkE=";
|
|
};
|
|
|
|
pythonRelaxDeps = [ "aiohttp" ];
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
requests
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|