Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 55 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchFromGitHub, setuptools, requests, polling, deprecated, pytestCheckHook, mock, httpretty,}:
buildPythonPackage rec { pname = "linode-api"; version = "5.39.0"; pyproject = true;
# Sources from Pypi exclude test fixtures src = fetchFromGitHub { owner = "linode"; repo = "python-linode-api"; tag = "v${version}"; hash = "sha256-WYPKq+WSEnqQdqZ0R8cUm7QYgE6EYtQ/NXdBfV2d8dI="; };
build-system = [ setuptools ];
dependencies = [ requests polling deprecated ];
nativeCheckInputs = [ pytestCheckHook mock httpretty ];
disabledTestPaths = [ # needs api token "test/integration" ];
pythonImportsCheck = [ "linode_api4" ];
meta = { description = "Python library for the Linode API v4"; homepage = "https://github.com/linode/python-linode-api"; changelog = "https://github.com/linode/linode_api4-python/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ glenns ]; };}