summary refs log tree commit diff
path: root/pkgs/development/python-modules/pydrive/default.nix
blob: aa0515323e29283d21a172026f631939399f58cd (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
{ lib
, buildPythonPackage
, fetchPypi
, google_api_python_client
, oauth2client
, pyyaml
}:

buildPythonPackage rec {
  pname = "pydrive";
  version = "1.3.1";

  src = fetchPypi {
    pname = "PyDrive";
    inherit version;
    sha256 = "11q7l94mb34hfh9wkdwfrh5xw99y13wa33ba7xp1q23q4b60v2c3";
  };

  propagatedBuildInputs = [
    google_api_python_client
    oauth2client
    pyyaml
  ];

  # requires client_secrets.json
  doCheck = false;

  meta = {
    description = "Google Drive API Python wrapper library";
    homepage = "https://github.com/gsuitedevs/PyDrive";
    license = lib.licenses.asl20;
  };
}