mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
25 lines
682 B
Nix
25 lines
682 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, pytestrunner, requests, urllib3, mock, setuptools }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dropbox";
|
|
version = "11.4.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "7ba43384029424779a4b3ec8d5832362c5c0f37cd644be2fb87e2b30a569849e";
|
|
};
|
|
|
|
# Set DROPBOX_TOKEN environment variable to a valid token.
|
|
doCheck = false;
|
|
|
|
buildInputs = [ pytestrunner ];
|
|
propagatedBuildInputs = [ requests urllib3 mock setuptools ];
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|