diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix b/nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix new file mode 100644 index 000000000000..64dc4d2c7182 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchPypi +, grpc +, protobuf +}: + +buildPythonPackage rec { + pname = "googleapis-common-protos"; + version = "1.60.0"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-5z67QECY20BbqV0eGuCqkcPhWnHaAxou62suI+e8Nwg="; + }; + + propagatedBuildInputs = [ grpc protobuf ]; + + # does not contain tests + doCheck = false; + + pythonImportsCheck = [ + "google.api" + "google.logging" + "google.longrunning" + "google.rpc" + "google.type" + ]; + + meta = with lib; { + description = "Common protobufs used in Google APIs"; + homepage = "https://github.com/googleapis/python-api-common-protos"; + license = licenses.asl20; + maintainers = with maintainers; [ ]; + }; +} |