blob: 5125be5a418da01bf3c583d03662e8875ed69e0f (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, expiringdict
, google-auth-httplib2
, google-auth-oauthlib
, google-api-python-client
}:
buildPythonPackage rec {
pname = "drivelib";
version = "0.3.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1bz3dn6wm9mlm2w8czwjmhvf3ws3iggr57hvd8z8acl1qafr2g4m";
};
propagatedBuildInputs = [
google-api-python-client
google-auth-oauthlib
google-auth-httplib2
expiringdict
];
# tests depend on a google auth token
doCheck = false;
pythonImportsCheck = [ "drivelib" ];
meta = with lib; {
description = "Easy access to the most common Google Drive API calls";
homepage = "https://pypi.org/project/drivelib/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ gravndal ];
};
}
|