1{ lib 2, buildPythonPackage 3, fetchPypi 4, google-api-core 5, google-cloud-core 6, grpc-google-iam-v1 7, libcst 8, mock 9, proto-plus 10, pytestCheckHook 11}: 12 13buildPythonPackage rec { 14 pname = "google-cloud-bigtable"; 15 version = "2.4.0"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "b8472c91b05159f20121fcca6ebdc2a3b5648d68158ec747860914279b6b983b"; 20 }; 21 22 propagatedBuildInputs = [ 23 google-api-core 24 google-cloud-core 25 grpc-google-iam-v1 26 libcst 27 proto-plus 28 ]; 29 30 checkInputs = [ 31 mock 32 pytestCheckHook 33 ]; 34 35 checkPhase = '' 36 # Prevent google directory from shadowing google imports 37 rm -r google 38 ''; 39 40 disabledTests = [ 41 "policy" 42 ]; 43 44 pythonImportsCheck = [ 45 "google.cloud.bigtable_admin_v2" 46 "google.cloud.bigtable_v2" 47 "google.cloud.bigtable" 48 ]; 49 50 meta = with lib; { 51 description = "Google Cloud Bigtable API client library"; 52 homepage = "https://github.com/googleapis/python-bigtable"; 53 license = licenses.asl20; 54 maintainers = [ maintainers.costrouc ]; 55 }; 56}