7 , google-cloud-testutils
21 buildPythonPackage rec {
22 pname = "google-cloud-spanner";
26 disabled = pythonOlder "3.7";
29 inherit pname version;
30 hash = "sha256-NTzAsG/UVn2BxPwUxE/ZnXqkCA9LwhmDRoq3LdstLIo=";
37 propagatedBuildInputs = [
46 ] ++ google-api-core.optional-dependencies.grpc;
48 passthru.optional-dependencies = {
55 google-cloud-testutils
62 # prevent google directory from shadowing google imports
67 # Requires credentials
68 "tests/system/test_backup_api.py"
69 "tests/system/test_database_api.py"
70 "tests/system/test_dbapi.py"
71 "tests/system/test_instance_api.py"
72 "tests/system/test_session_api.py"
73 "tests/system/test_streaming_chunking.py"
74 "tests/system/test_table_api.py"
75 "tests/unit/spanner_dbapi/test_connect.py"
76 "tests/unit/spanner_dbapi/test_connection.py"
77 "tests/unit/spanner_dbapi/test_cursor.py"
80 pythonImportsCheck = [
81 "google.cloud.spanner_admin_database_v1"
82 "google.cloud.spanner_admin_instance_v1"
83 "google.cloud.spanner_dbapi"
84 "google.cloud.spanner_v1"
88 description = "Cloud Spanner API client library";
89 homepage = "https://github.com/googleapis/python-spanner";
90 changelog = "https://github.com/googleapis/python-spanner/blob/v${version}/CHANGELOG.md";
91 license = licenses.asl20;
92 maintainers = with maintainers; [ ];