{ stdenv, buildPythonPackage, fetchPypi , pytestrunner, requests, urllib3, mock, setuptools }: buildPythonPackage rec { pname = "dropbox"; version = "9.1.0"; src = fetchPypi { inherit pname version; sha256 = "0j6p5hgbglpwqd4jl53iqs83537464lybzc0aszi3w6wm6i0dlyq"; }; # 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; }; }