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
|
, oauth2client
|
||||||
, pyopenssl
|
, pyopenssl
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, six
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pydrive2";
|
pname = "pydrive2";
|
||||||
version = "1.15.0";
|
version = "1.15.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "PyDrive2";
|
pname = "PyDrive2";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "sha256-OuBrZr+WP0NSSYnIf01ngDlEH+BZmTxnA/szzDxtiuw=";
|
hash = "sha256-OuBrZr+WP0NSSYnIf01ngDlEH+BZmTxnA/szzDxtiuw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -23,17 +26,19 @@ buildPythonPackage rec {
|
||||||
oauth2client
|
oauth2client
|
||||||
pyopenssl
|
pyopenssl
|
||||||
pyyaml
|
pyyaml
|
||||||
six
|
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "pydrive2" ];
|
pythonImportsCheck = [
|
||||||
|
"pydrive2"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Google Drive API Python wrapper library. Maintained fork of PyDrive.";
|
description = "Google Drive API Python wrapper library";
|
||||||
homepage = "https://github.com/iterative/PyDrive2";
|
homepage = "https://github.com/iterative/PyDrive2";
|
||||||
license = lib.licenses.asl20;
|
changelog = "https://github.com/iterative/PyDrive2/releases/tag/${version}";
|
||||||
maintainers = with lib.maintainers; [ sei40kr ];
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ sei40kr ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue