diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/googleapis-common-protos')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix | 45 |
1 files changed, 45 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..e8a469e51b06 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +, grpc +, protobuf +}: + +buildPythonPackage rec { + pname = "googleapis-common-protos"; + version = "1.61.0"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-imSGapf2MEpxeYc6Rl1u7pe3ok7Gz9eOD1delrghJAs="; + }; + + nativeBuildInputs = [ + setuptools + ]; + + 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; [ ]; + }; +} |