Merge pull request #156195 from sei40kr/init-python-packages-pydrive2
This commit is contained in:
commit
005fba8a0e
39
pkgs/development/python-modules/pydrive2/default.nix
Normal file
39
pkgs/development/python-modules/pydrive2/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue