depot/third_party/nixpkgs/pkgs/development/python-modules/pydrive2/default.nix
Default email 0eeabdeb66 Project import generated by Copybara.
GitOrigin-RevId: c07b471b52be8fbc49a7dc194e9b37a6e19ee04d
2022-01-24 21:21:06 -06:00

39 lines
745 B
Nix

{ 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 ];
};
}