2020-11-03 01:15:22 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, google_api_core
|
|
|
|
, grpc_google_iam_v1, libcst, mock, proto-plus, pytest, pytest-asyncio }:
|
2018-11-02 19:05:49 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-container";
|
2020-12-14 09:01:52 +00:00
|
|
|
version = "2.3.0";
|
2018-11-02 19:05:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-14 09:01:52 +00:00
|
|
|
sha256 = "0dcd8084dd55c0439ff065d3fb206e2e5c695d3a25effd774b74f8ce43afc911";
|
2018-11-02 19:05:49 +00:00
|
|
|
};
|
|
|
|
|
2020-11-03 01:15:22 +00:00
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
checkInputs = [ mock pytest pytest-asyncio ];
|
|
|
|
propagatedBuildInputs =
|
|
|
|
[ google_api_core grpc_google_iam_v1 libcst proto-plus ];
|
2018-11-02 19:05:49 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest tests/unit
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Google Container Engine API client library";
|
2020-11-03 01:15:22 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-container";
|
2018-11-02 19:05:49 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|