1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/dropbox/default.nix

25 lines
689 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
, pytestrunner, requests, urllib3, mock, setuptools }:
buildPythonPackage rec {
pname = "dropbox";
2018-06-12 17:47:00 +01:00
version = "8.9.0";
src = fetchPypi {
inherit pname version;
2018-06-12 17:47:00 +01:00
sha256 = "e7eeac47f35e73b34023b7a3089380e74bacd0cce4b57e1e347539dfb53681d2";
};
# 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;
};
}