Files
nixpkgs/pkgs/development/python-modules/globus-sdk/default.nix
T

55 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
flaky,
pyjwt,
pytestCheckHook,
requests,
responses,
setuptools,
}:
buildPythonPackage rec {
pname = "globus-sdk";
version = "3.63.0";
pyproject = true;
src = fetchFromGitHub {
owner = "globus";
repo = "globus-sdk-python";
tag = version;
hash = "sha256-ucVDjOV1NmHguwXSWbomNz9gjrxpeGmoZqF/Je6BL/4=";
};
build-system = [ setuptools ];
preCheck = ''
export HOME=$(mktemp -d)
'';
dependencies = [
cryptography
requests
pyjwt
];
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 ];
};
}