Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 34 lines 773 B view raw
1{ lib 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.7.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "90bd53a19c33c34101b8567c82a6dc0386af4118d70e1ad69b49375358a21aa6"; 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 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}