1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/grpc/default.nix

27 lines
863 B
Nix
Raw Normal View History

2018-01-09 02:27:12 +00:00
{ stdenv, fetchurl, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags }:
stdenv.mkDerivation rec {
grpc: 1.9.1 -> 1.10.0 Semi-automatic update. These checks were done: - built on NixOS - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/check_epollexclusive -h` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/check_epollexclusive --help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/check_epollexclusive help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_hpack_tables -h` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_hpack_tables --help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_hpack_tables help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_legal_metadata_characters -h` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_legal_metadata_characters --help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_legal_metadata_characters help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_percent_encoding_tables -h` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_percent_encoding_tables --help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_percent_encoding_tables help` got 0 exit code - found 1.10.0 with grep in /nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0 - found 1.10.0 in filename of file in /nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0
2018-03-09 00:05:03 +00:00
version = "1.10.0";
name = "grpc-${version}";
src = fetchurl {
url = "https://github.com/grpc/grpc/archive/v${version}.tar.gz";
grpc: 1.9.1 -> 1.10.0 Semi-automatic update. These checks were done: - built on NixOS - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/check_epollexclusive -h` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/check_epollexclusive --help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/check_epollexclusive help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_hpack_tables -h` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_hpack_tables --help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_hpack_tables help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_legal_metadata_characters -h` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_legal_metadata_characters --help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_legal_metadata_characters help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_percent_encoding_tables -h` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_percent_encoding_tables --help` got 0 exit code - ran `/nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0/bin/gen_percent_encoding_tables help` got 0 exit code - found 1.10.0 with grep in /nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0 - found 1.10.0 in filename of file in /nix/store/f1darm5xs8ihd8bfkq1icsgcy2kz5cpa-grpc-1.10.0
2018-03-09 00:05:03 +00:00
sha256 = "0wngrb44bpryrvrnx5y1ncrhi2097qla929wqjwvs0razbk3v9rr";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags ];
cmakeFlags =
[ "-DgRPC_ZLIB_PROVIDER=package"
"-DgRPC_CARES_PROVIDER=package"
"-DgRPC_SSL_PROVIDER=package"
"-DgRPC_PROTOBUF_PROVIDER=package"
"-DgRPC_GFLAGS_PROVIDER=package"
];
enableParallelBuilds = true;
meta = with stdenv.lib; {
description = "The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)";
license = licenses.asl20;
homepage = https://grpc.io/;
};
}