Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 58 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, setuptools, requests, polling, deprecated, pytestCheckHook, mock, httpretty,}:
buildPythonPackage rec { pname = "linode-api"; version = "5.33.1"; pyproject = true;
disabled = pythonOlder "3.9";
# Sources from Pypi exclude test fixtures src = fetchFromGitHub { owner = "linode"; repo = "python-linode-api"; tag = "v${version}"; hash = "sha256-RFnsz04Z3oB86VPzClYdQfgup27FNhSwvR0Q4hJclE8="; };
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 ]; };}