{ stdenv , buildPythonPackage , fetchPypi , enum34 , google_api_core , pytest , mock }: buildPythonPackage rec { pname = "google-cloud-automl"; version = "0.7.0"; src = fetchPypi { inherit pname version; sha256 = "532cee03a976eedf308c178484b61f80bc4c68991b3bd8eb8f6abd000a217ef7"; }; checkInputs = [ pytest mock ]; propagatedBuildInputs = [ enum34 google_api_core ]; checkPhase = '' pytest tests/unit ''; meta = with stdenv.lib; { description = "Cloud AutoML API client library"; homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; license = licenses.asl20; maintainers = [ maintainers.costrouc ]; }; }