6 , google-cloud-testutils
16 buildPythonPackage rec {
17 pname = "google-cloud-translate";
21 disabled = pythonOlder "3.7";
24 inherit pname version;
25 hash = "sha256-7Vh6HmDPhHw7Gt1rKCVuLRci+nOkKFM09excqTPmFvI=";
32 propagatedBuildInputs = [
37 ] ++ google-api-core.optional-dependencies.grpc;
40 google-cloud-testutils
47 # prevent shadowing imports
51 pythonImportsCheck = [
52 "google.cloud.translate"
53 "google.cloud.translate_v2"
54 "google.cloud.translate_v3"
55 "google.cloud.translate_v3beta1"
59 # Tests require PROJECT_ID
60 "test_list_glossaries"
64 description = "Google Cloud Translation API client library";
65 homepage = "https://github.com/googleapis/python-translate";
66 changelog = "https://github.com/googleapis/python-translate/blob/v${version}/CHANGELOG.md";
67 license = licenses.asl20;
68 maintainers = with maintainers; [ ];