mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
37 lines
718 B
Nix
37 lines
718 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, grpc
|
|
, protobuf
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "googleapis-common-protos";
|
|
version = "1.58.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-xyclHsAllH1UUYS6F+NXiED8OiSgUWoCBHntq2YEV98=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|