blob: ddeb72bfbdf97149ec0f6be8717e0ecb40443521 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ lib
, buildPythonPackage
, fetchPypi
, google-api-python-client
, oauth2client
, pyopenssl
, pyyaml
, pythonOlder
}:
buildPythonPackage rec {
pname = "pydrive2";
version = "1.17.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PyDrive2";
inherit version;
hash = "sha256-aP6pNDR7thK3qEiBHUgUnbhAvPtfpNeothYbLSrf7HA=";
};
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 ];
};
}
|