nixpkgs/pkgs/development/python-modules/dropbox/default.nix
2020-07-28 16:10:45 -07:00

25 lines
680 B
Nix

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