2ce89355c3
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
24 lines
692 B
Nix
24 lines
692 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, pytestrunner, requests, urllib3, mock, setuptools }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dropbox";
|
|
version = "10.2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "4372916da70aad82e7227e7c31a8cfa2310e41c9d34d32883daedf43ed403f86";
|
|
};
|
|
|
|
# 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";
|
|
homepage = "https://www.dropbox.com/developers/core/docs";
|
|
license = licenses.mit;
|
|
};
|
|
}
|