2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-11-02 19:03:22 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, grpc_google_iam_v1
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-api-core
|
|
|
|
, google-cloud-core
|
2018-11-02 19:03:22 +00:00
|
|
|
, pytest
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-bigtable";
|
2020-12-03 18:38:07 +00:00
|
|
|
version = "1.6.1";
|
2018-11-02 19:03:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-03 18:38:07 +00:00
|
|
|
sha256 = "ace4ff7c6e00fb7d86963503615db85336b6484339f5774bd8c589df224772a8";
|
2018-11-02 19:03:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest mock ];
|
2021-01-06 09:46:48 +00:00
|
|
|
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core google-cloud-core ];
|
2018-11-02 19:03:22 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
2020-03-18 22:19:27 +00:00
|
|
|
rm -r google
|
|
|
|
pytest tests/unit -k 'not policy'
|
2018-11-02 19:03:22 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-02 19:03:22 +00:00
|
|
|
description = "Google Cloud Bigtable API client library";
|
2020-03-18 22:19:27 +00:00
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
2018-11-02 19:03:22 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|