python3Packages.google-api-python-client: remove six

This commit is contained in:
Fabian Affolter
2021-11-30 18:52:50 -08:00
committed by Jonathan Ringer
parent 66591e17b0
commit 904bb80628
@@ -1,24 +1,41 @@
{ lib, buildPythonPackage, fetchPypi
, google-auth, google-auth-httplib2, google-api-core
, httplib2, six, uritemplate, oauth2client, setuptools }:
{ lib
, buildPythonPackage
, fetchPypi
, google-auth
, google-auth-httplib2
, google-api-core
, httplib2
, uritemplate
, oauth2client
, setuptools
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-api-python-client";
version = "2.31.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "3f64a5eee6fa03ab51806dccf48e342fda83fea60c290518c6a2dfdbf2de9efd";
};
propagatedBuildInputs = [
google-auth
google-auth-httplib2
google-api-core
httplib2
uritemplate
oauth2client
setuptools
];
# No tests included in archive
doCheck = false;
propagatedBuildInputs = [
google-auth google-auth-httplib2 google-api-core
httplib2 six uritemplate oauth2client setuptools
];
pythonImportsCheck = [
"googleapiclient"
];