nixpkgs/pkgs/development/libraries/grpc/default.nix
Ryan Mulligan 2689ae1fec 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-08 16:05:03 -08:00

27 lines
863 B
Nix

{ stdenv, fetchurl, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags }:
stdenv.mkDerivation rec {
version = "1.10.0";
name = "grpc-${version}";
src = fetchurl {
url = "https://github.com/grpc/grpc/archive/v${version}.tar.gz";
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/;
};
}