2018-06-22 06:59:24 +01:00
|
|
|
{ lib
|
2019-11-19 15:43:20 +00:00
|
|
|
, isPy3k
|
2018-06-22 06:59:24 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, mock
|
|
|
|
, six
|
|
|
|
, pytest
|
|
|
|
, pytest-localserver
|
|
|
|
, google_auth
|
|
|
|
, httplib2
|
|
|
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-auth-httplib2";
|
2020-07-31 09:56:39 +01:00
|
|
|
version = "0.0.4";
|
2018-06-22 06:59:24 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 09:56:39 +01:00
|
|
|
sha256 = "8d092cc60fb16517b12057ec0bba9185a96e3b7169d86ae12eae98e645b7bc39";
|
2018-06-22 06:59:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
flask mock six pytest pytest-localserver
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
google_auth httplib2
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
2019-11-19 15:43:20 +00:00
|
|
|
# ImportError: No module named google.auth
|
|
|
|
doCheck = isPy3k;
|
|
|
|
|
2018-06-22 06:59:24 +01:00
|
|
|
meta = {
|
|
|
|
description = "Google Authentication Library: httplib2 transport";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2";
|
2018-06-22 06:59:24 +01:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
|
2019-11-19 15:43:20 +00:00
|
|
|
}
|