depot/third_party/nixpkgs/pkgs/development/python-modules/pydrive2/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

44 lines
861 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, google-api-python-client
, oauth2client
, pyopenssl
, pyyaml
, pythonOlder
}:
buildPythonPackage rec {
pname = "pydrive2";
version = "1.15.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PyDrive2";
inherit version;
hash = "sha256-Hx8xuMned3vUDrDRhqYirLPmsbjjxWPlCNRoxZp50/o=";
};
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 ];
};
}