depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-bigtable/default.nix
Default email 29574b70c6 Project import generated by Copybara.
GitOrigin-RevId: 64b4617883844efe0cc20163e007ee636462eb18
2021-02-16 18:04:54 +01:00

34 lines
773 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, grpc_google_iam_v1
, google-api-core
, google-cloud-core
, pytest
, mock
}:
buildPythonPackage rec {
pname = "google-cloud-bigtable";
version = "1.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "90bd53a19c33c34101b8567c82a6dc0386af4118d70e1ad69b49375358a21aa6";
};
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core google-cloud-core ];
checkPhase = ''
rm -r google
pytest tests/unit -k 'not policy'
'';
meta = with lib; {
description = "Google Cloud Bigtable API client library";
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}