2018-04-03 14:12:22 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pytestrunner, requests, urllib3, mock, setuptools }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dropbox";
|
2020-07-26 02:14:21 +01:00
|
|
|
version = "10.3.0";
|
2018-04-03 14:12:22 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-26 02:14:21 +01:00
|
|
|
sha256 = "082ylb6xn8xzix61lv2n8ya1k0gd494kr9vr2ys8ldbwxq9nyaaz";
|
2018-04-03 14:12:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Set DROPBOX_TOKEN environment variable to a valid token.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ pytestrunner ];
|
|
|
|
propagatedBuildInputs = [ requests urllib3 mock setuptools ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 14:12:22 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|