3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.pydrive2: add changelog to meta

- disable on unsupported Python releases
- adjust inputs
This commit is contained in:
Fabian Affolter 2022-12-04 14:18:50 +01:00 committed by GitHub
parent 3201ba1c48
commit 16e2038be9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};
}