1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 grpc,
7 protobuf,
8}:
9
10buildPythonPackage rec {
11 pname = "googleapis-common-protos";
12 version = "1.63.0";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-F60BsR1fHQFxwG07pcBMVEdOiDtmuUlyK0k47iaU704=";
18 };
19
20 nativeBuildInputs = [ setuptools ];
21
22 propagatedBuildInputs = [
23 grpc
24 protobuf
25 ];
26
27 # does not contain tests
28 doCheck = false;
29
30 pythonImportsCheck = [
31 "google.api"
32 "google.logging"
33 "google.longrunning"
34 "google.rpc"
35 "google.type"
36 ];
37
38 meta = with lib; {
39 description = "Common protobufs used in Google APIs";
40 homepage = "https://github.com/googleapis/python-api-common-protos";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ ];
43 };
44}