python3Packages.dropbox: update meta
This commit is contained in:
parent
0438825730
commit
774318d795
@ -1,9 +1,20 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, requests, urllib3, mock, setuptools, stone }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, urllib3
|
||||
, mock
|
||||
, setuptools
|
||||
, stone
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dropbox";
|
||||
version = "11.26.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dropbox";
|
||||
@ -12,21 +23,29 @@ buildPythonPackage rec {
|
||||
sha256 = "0ncx41jg2wbsklqkrh0zjwjs3kfkscz8d6gcbsxqa1qpa3pa5519";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
urllib3
|
||||
mock
|
||||
setuptools
|
||||
stone
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pytest-runner == 5.2.0'," ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ requests urllib3 mock setuptools stone ];
|
||||
|
||||
# Set DROPBOX_TOKEN environment variable to a valid token.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "dropbox" ];
|
||||
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";
|
||||
description = "Python library for Dropbox's HTTP-based Core and Datastore APIs";
|
||||
homepage = "https://github.com/dropbox/dropbox-sdk-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user