2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi
|
2018-04-03 13:12:22 +00:00
|
|
|
, pytestrunner, requests, urllib3, mock, setuptools }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dropbox";
|
2020-11-14 17:09:01 +00:00
|
|
|
version = "10.10.0";
|
2018-04-03 13:12:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-14 17:09:01 +00:00
|
|
|
sha256 = "df43e9e0bdcae6d610dd754a5ec72f2f91a311bbc2c8a28d076df69695b18398";
|
2018-04-03 13:12:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Set DROPBOX_TOKEN environment variable to a valid token.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ pytestrunner ];
|
|
|
|
propagatedBuildInputs = [ requests urllib3 mock setuptools ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-03 13:12:22 +00:00
|
|
|
description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs";
|
2020-03-23 08:30:28 +00:00
|
|
|
homepage = "https://www.dropbox.com/developers/core/docs";
|
2018-04-03 13:12:22 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|