13 buildPythonPackage rec {
14 pname = "cirq-google";
16 inherit (cirq-core) version src meta;
18 sourceRoot = "${src.name}/${pname}";
20 build-system = [ setuptools ];
23 # https://github.com/quantumlib/Cirq/pull/6683 Support for protobuf5
25 url = "https://github.com/quantumlib/Cirq/commit/bae02e4d83aafa29f50aa52073d86eb913ccb2d3.patch";
26 hash = "sha256-MqHhKa38BTM6viQtWik0TQjN0OPdrwzCZkkqZsiyF5w=";
27 includes = [ "cirq_google/serialization/arg_func_langs_test.py" ];
40 ] ++ google-api-core.optional-dependencies.grpc;
48 # No need to test the version number
49 "cirq_google/_version_test.py"
51 "cirq_google/engine/calibration_test.py"
53 "cirq_google/engine/*_test.py"
57 # unittest.mock.InvalidSpecError: Cannot autospec attr 'QuantumEngineServiceClient'
58 "test_get_engine_sampler_explicit_project_id"
59 "test_get_engine_sampler"
61 "test_xeb_to_calibration_layer"