c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
44 lines
861 B
Nix
44 lines
861 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google-api-python-client
|
|
, oauth2client
|
|
, pyopenssl
|
|
, pyyaml
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pydrive2";
|
|
version = "1.15.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "PyDrive2";
|
|
inherit version;
|
|
hash = "sha256-qPUNmWydx25RwAO8wHcP6XIi+gH7Dm6p0CfwrPfs564=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
google-api-python-client
|
|
oauth2client
|
|
pyopenssl
|
|
pyyaml
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pydrive2"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Google Drive API Python wrapper library";
|
|
homepage = "https://github.com/iterative/PyDrive2";
|
|
changelog = "https://github.com/iterative/PyDrive2/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ sei40kr ];
|
|
};
|
|
}
|