15 buildPythonPackage rec {
18 format = "setuptools";
20 disabled = pythonOlder "3.7";
21 outputs = ["out" "doc"];
23 src = fetchFromGitHub {
25 repo = "dropbox-sdk-python";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-vrOqsRe2sBsL5CIfGCmoO3geE9G0FJl88HRcP6FzZe0=";
30 propagatedBuildInputs = [
44 substituteInPlace setup.py \
45 --replace "'pytest-runner == 5.2.0'," ""
50 pythonImportsCheck = [
53 nativeBuildInputs = [ sphinxHook ];
55 # Set SCOPED_USER_DROPBOX_TOKEN environment variable to a valid value.
57 "test_default_oauth2_urls"
64 "test_upload_download"
65 "test_bad_upload_types"
66 "test_clone_when_user_linked"
67 "test_with_path_root_constructor"
70 "test_versioned_route"
74 "test_clone_when_team_linked"
78 description = "Python library for Dropbox's HTTP-based Core and Datastore APIs";
79 homepage = "https://github.com/dropbox/dropbox-sdk-python";
80 license = licenses.mit;
81 maintainers = with maintainers; [ sfrijters ];