Merge pull request #156195 from sei40kr/init-python-packages-pydrive2

This commit is contained in:
Sandro 2022-01-23 20:33:44 +01:00 committed by GitHub
commit 005fba8a0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-python-client
, oauth2client
, pyopenssl
, pyyaml
, six
}:
buildPythonPackage rec {
pname = "pydrive2";
version = "1.10.0";
src = fetchPypi {
pname = "PyDrive2";
inherit version;
sha256 = "sha256-970ZtP8e9sC5IvtqxVwNlHJKtTc4euSh3nl3hNd0Y6s=";
};
propagatedBuildInputs = [
google-api-python-client
oauth2client
pyopenssl
pyyaml
six
];
doCheck = false;
pythonImportsCheck = [ "pydrive2" ];
meta = {
description = "Google Drive API Python wrapper library. Maintained fork of PyDrive.";
homepage = "https://github.com/iterative/PyDrive2";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ sei40kr ];
};
}

View file

@ -6677,6 +6677,8 @@ in {
pydrive = callPackage ../development/python-modules/pydrive { };
pydrive2 = callPackage ../development/python-modules/pydrive2 { };
pydroid-ipcam = callPackage ../development/python-modules/pydroid-ipcam { };
pydsdl = callPackage ../development/python-modules/pydsdl { };