mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-08 14:53:20 +00:00
25 lines
679 B
Nix
25 lines
679 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, pytestrunner, requests, urllib3, mock, setuptools }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dropbox";
|
|
version = "9.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0iz9hg1j7q9chka6fyzgpzqg2v4nbjx61xfvn9ixprxrdhvhr2hi";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|