python3Packages.google_cloud_container: 2.0.1 -> 2.1.0

This commit is contained in:
Austin Butler 2020-11-02 17:15:22 -08:00 committed by Jonathan Ringer
parent f2b0d07cf0
commit 7cbe301ffc

View File

@ -1,23 +1,20 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, grpc_google_iam_v1
, pytest
, mock
}:
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, google_api_core
, grpc_google_iam_v1, libcst, mock, proto-plus, pytest, pytest-asyncio }:
buildPythonPackage rec {
pname = "google-cloud-container";
version = "2.0.1";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "6f714e3d427e2b36d1365fc400f4d379972529fb40f798d9c0e06c7c3418fc89";
sha256 = "07rcq4c49zfaacyn5df62bs7qjf5hpmdm9mpb6nx510lylq0507x";
};
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ google_api_core grpc_google_iam_v1 ];
disabled = pythonOlder "3.6";
checkInputs = [ mock pytest pytest-asyncio ];
propagatedBuildInputs =
[ google_api_core grpc_google_iam_v1 libcst proto-plus ];
checkPhase = ''
pytest tests/unit
@ -25,7 +22,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Google Container Engine API client library";
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
homepage = "https://github.com/googleapis/python-container";
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};