Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, cryptography, fetchFromGitHub, flaky, pyjwt, pytestCheckHook, pythonOlder, requests, responses, setuptools, typing-extensions,}:
buildPythonPackage rec { pname = "globus-sdk"; version = "3.61.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "globus"; repo = "globus-sdk-python"; tag = version; hash = "sha256-DFLWFdwgKLhGde8ZH40YJ2434cl9nSrEfU6DfHANChE="; };
build-system = [ setuptools ];
preCheck = '' export HOME=$(mktemp -d) '';
dependencies = [ cryptography requests pyjwt ] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions ];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ flaky responses ];
pythonImportsCheck = [ "globus_sdk" ];
meta = { description = "Interface to Globus REST APIs, including the Transfer API and the Globus Auth API"; homepage = "https://github.com/globus/globus-sdk-python"; changelog = "https://github.com/globus/globus-sdk-python/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ bot-wxt1221 ]; };}