Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 79 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980{ lib, buildPythonPackage, fetchPypi, google-api-core, google-cloud-storage, google-cloud-testutils, libcst, mock, pandas, proto-plus, protobuf, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "google-cloud-automl"; version = "2.13.3"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-iRqQgurt6xe8W7ck/BULdwLGhNdCD58irj98X8YRxxo="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ google-api-core proto-plus protobuf ] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = { libcst = [ libcst ]; pandas = [ pandas ]; storage = [ google-cloud-storage ]; };
nativeCheckInputs = [ google-cloud-storage google-cloud-testutils mock pandas pytest-asyncio pytestCheckHook ];
preCheck = '' # do not shadow imports rm -r google '';
disabledTests = [ # Test requires credentials "test_prediction_client_client_info" # Test requires project ID "test_list_models" ];
pythonImportsCheck = [ "google.cloud.automl" "google.cloud.automl_v1" "google.cloud.automl_v1beta1" ];
meta = with lib; { description = "Cloud AutoML API client library"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-automl"; changelog = "https://github.com/googleapis/google-cloud-python/tree/google-cloud-automl-v${version}/packages/google-cloud-automl"; license = licenses.asl20; maintainers = with maintainers; [ ]; };}