From 7d70d8f5411bb769a83224d291f5674c5c594460 Mon Sep 17 00:00:00 2001 From: Seong Yong-ju Date: Sun, 23 Jan 2022 04:05:08 +0900 Subject: [PATCH] python3Packages.pydrive2: init at 1.10.0 --- .../python-modules/pydrive2/default.nix | 39 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 41 insertions(+) create mode 100644 pkgs/development/python-modules/pydrive2/default.nix diff --git a/pkgs/development/python-modules/pydrive2/default.nix b/pkgs/development/python-modules/pydrive2/default.nix new file mode 100644 index 000000000000..2491bc5ff9a7 --- /dev/null +++ b/pkgs/development/python-modules/pydrive2/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index beb14495df4b..65735c70fbc3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6671,6 +6671,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 { };