75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
33 lines
614 B
Nix
33 lines
614 B
Nix
{ 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;
|
|
};
|
|
}
|