diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/dropbox/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/dropbox/default.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/dropbox/default.nix b/nixpkgs/pkgs/development/python-modules/dropbox/default.nix index f5a9274a0d18..7406e6dc21b3 100644 --- a/nixpkgs/pkgs/development/python-modules/dropbox/default.nix +++ b/nixpkgs/pkgs/development/python-modules/dropbox/default.nix @@ -1,29 +1,31 @@ { lib, buildPythonPackage, fetchPypi -, pytest-runner, requests, urllib3, mock, setuptools, stone }: +, requests, urllib3, mock, setuptools, stone }: buildPythonPackage rec { pname = "dropbox"; - version = "11.11.0"; + version = "11.18.0"; src = fetchPypi { inherit pname version; - sha256 = "14dd51e0e3981cb81384a8e13a308de0df13c7c4b6ba7f080177ede947761cbb"; + sha256 = "fa512c87521809e93502fc6a27b1d57ffbcef2281468c8f93575eab6a9ad5f05"; }; postPatch = '' substituteInPlace setup.py \ - --replace "pytest-runner == 5.2.0" "pytest-runner" + --replace "'pytest-runner == 5.2.0'," "" ''; + propagatedBuildInputs = [ requests urllib3 mock setuptools stone ]; + # Set DROPBOX_TOKEN environment variable to a valid token. doCheck = false; - nativeBuildInputs = [ pytest-runner ]; - propagatedBuildInputs = [ requests urllib3 mock setuptools stone ]; + pythonImportsCheck = [ "dropbox" ]; 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; + maintainers = with maintainers; [ ]; }; } |