Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, grpc_google_iam_v1 5, google_api_core 6, google_cloud_core 7, pytest 8, mock 9}: 10 11buildPythonPackage rec { 12 pname = "google-cloud-bigtable"; 13 version = "1.4.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "e777333cbe85888f888c034d32880bb6a602ad83d8c81a95edca7c522cf430d8"; 18 }; 19 20 checkInputs = [ pytest mock ]; 21 propagatedBuildInputs = [ grpc_google_iam_v1 google_api_core google_cloud_core ]; 22 23 checkPhase = '' 24 rm -r google 25 pytest tests/unit -k 'not policy' 26 ''; 27 28 meta = with stdenv.lib; { 29 description = "Google Cloud Bigtable API client library"; 30 homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"; 31 license = licenses.asl20; 32 maintainers = [ maintainers.costrouc ]; 33 }; 34}