about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dropbox
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2021-04-20 15:00:36 -0700
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-04-20 22:19:08 -0700
commite095b69930f6ef9e32d20d4e52fee1e48bd210a0 (patch)
tree9cad8c03efa06b2262ff51679067de9998c7df6b /pkgs/development/python-modules/dropbox
parentbdeaccefbffe6fdd7e3fb13a69360d31e00767bb (diff)
python3Packages.dropbox: add missing stone dep
Diffstat (limited to 'pkgs/development/python-modules/dropbox')
-rw-r--r--pkgs/development/python-modules/dropbox/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/dropbox/default.nix b/pkgs/development/python-modules/dropbox/default.nix
index dca83a57a7bce..8fc4ee1358b1e 100644
--- a/pkgs/development/python-modules/dropbox/default.nix
+++ b/pkgs/development/python-modules/dropbox/default.nix
@@ -1,5 +1,5 @@
 { lib, buildPythonPackage, fetchPypi
-, pytestrunner, requests, urllib3, mock, setuptools }:
+, pytestrunner, requests, urllib3, mock, setuptools, stone }:
 
 buildPythonPackage rec {
   pname = "dropbox";
@@ -10,11 +10,16 @@ buildPythonPackage rec {
     sha256 = "7ba43384029424779a4b3ec8d5832362c5c0f37cd644be2fb87e2b30a569849e";
   };
 
+  postPatch = ''
+    substituteInPlace setup.py \
+      --replace "pytest-runner == 5.2.0" "pytest-runner"
+  '';
+
   # Set DROPBOX_TOKEN environment variable to a valid token.
   doCheck = false;
 
-  buildInputs = [ pytestrunner ];
-  propagatedBuildInputs = [ requests urllib3 mock setuptools ];
+  nativeBuildInputs = [ pytestrunner ];
+  propagatedBuildInputs = [ requests urllib3 mock setuptools stone ];
 
   meta = with lib; {
     description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs";