Merge pull request #156803 from r-ryantm/auto-update/python3.10-dropbox
python310Packages.dropbox: 11.25.0 -> 11.26.0
This commit is contained in:
commit
71d3fa0f38
@ -1,32 +1,51 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub
|
{ lib
|
||||||
, requests, urllib3, mock, setuptools, stone }:
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, requests
|
||||||
|
, urllib3
|
||||||
|
, mock
|
||||||
|
, setuptools
|
||||||
|
, stone
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dropbox";
|
pname = "dropbox";
|
||||||
version = "11.25.0";
|
version = "11.26.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dropbox";
|
owner = "dropbox";
|
||||||
repo = "dropbox-sdk-python";
|
repo = "dropbox-sdk-python";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1ln6m6wiym5608i26abs8a5nm4mnn7s3czhnpg9nyjyndnr7k0xj";
|
sha256 = "0ncx41jg2wbsklqkrh0zjwjs3kfkscz8d6gcbsxqa1qpa3pa5519";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
urllib3
|
||||||
|
mock
|
||||||
|
setuptools
|
||||||
|
stone
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "'pytest-runner == 5.2.0'," ""
|
--replace "'pytest-runner == 5.2.0'," ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests urllib3 mock setuptools stone ];
|
|
||||||
|
|
||||||
# Set DROPBOX_TOKEN environment variable to a valid token.
|
# Set DROPBOX_TOKEN environment variable to a valid token.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "dropbox" ];
|
pythonImportsCheck = [
|
||||||
|
"dropbox"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs";
|
description = "Python library for Dropbox's HTTP-based Core and Datastore APIs";
|
||||||
homepage = "https://www.dropbox.com/developers/core/docs";
|
homepage = "https://github.com/dropbox/dropbox-sdk-python";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user