python3Packages.dropbox: add missing stone dep

This commit is contained in:
Jonathan Ringer 2021-04-20 15:00:36 -07:00 committed by Jonathan Ringer
parent bdeaccefbf
commit e095b69930

View file

@ -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";