forked from mirrors/nixpkgs
python310Packages.pydrive2: add changelog to meta
- disable on unsupported Python releases - adjust inputs
This commit is contained in:
parent
3201ba1c48
commit
16e2038be9
|
@ -5,17 +5,20 @@
|
|||
, oauth2client
|
||||
, pyopenssl
|
||||
, pyyaml
|
||||
, six
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydrive2";
|
||||
version = "1.15.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyDrive2";
|
||||
inherit version;
|
||||
sha256 = "sha256-OuBrZr+WP0NSSYnIf01ngDlEH+BZmTxnA/szzDxtiuw=";
|
||||
hash = "sha256-OuBrZr+WP0NSSYnIf01ngDlEH+BZmTxnA/szzDxtiuw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -23,17 +26,19 @@ buildPythonPackage rec {
|
|||
oauth2client
|
||||
pyopenssl
|
||||
pyyaml
|
||||
six
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pydrive2" ];
|
||||
pythonImportsCheck = [
|
||||
"pydrive2"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Google Drive API Python wrapper library. Maintained fork of PyDrive.";
|
||||
meta = with lib; {
|
||||
description = "Google Drive API Python wrapper library";
|
||||
homepage = "https://github.com/iterative/PyDrive2";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ sei40kr ];
|
||||
changelog = "https://github.com/iterative/PyDrive2/releases/tag/${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ sei40kr ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue