Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, deprecated, fetchFromGitHub, httpretty, mock, nix-update-script, polling, pyprojectVersionPatchHook, pytestCheckHook, requests, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "linode-api4"; version = "5.48.0"; pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub { owner = "linode"; repo = "linode_api4-python"; tag = "v${finalAttrs.version}"; hash = "sha256-NkSSiVSA2IsfgOn7bXvzw4xeteYQYIY2pX+jnv7UB/A="; };
build-system = [ setuptools ];
nativeBuildInputs = [ pyprojectVersionPatchHook ];
dependencies = [ deprecated polling requests ];
nativeCheckInputs = [ httpretty mock pytestCheckHook ];
pythonImportsCheck = [ "linode_api4" ];
disabledTestPaths = [ # Tests require an API token "test/integration/" ];
passthru.updateScript = nix-update-script { };
meta = { description = "Official Python bindings for the Linode API"; homepage = "https://github.com/linode/linode_api4-python"; changelog = "https://github.com/linode/linode_api4-python/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; };})