grpc: 1.10.1 -> 1.15.0

This commit is contained in:
Igor Tarasov 2018-09-25 18:54:32 +03:00 committed by Orivej Desh
parent 39f86379c6
commit f34649e7f5

View File

@ -1,11 +1,13 @@
{ stdenv, fetchurl, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags }:
{ stdenv, fetchFromGitHub, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags }:
stdenv.mkDerivation rec {
version = "1.10.1";
version = "1.15.0";
name = "grpc-${version}";
src = fetchurl {
url = "https://github.com/grpc/grpc/archive/v${version}.tar.gz";
sha256 = "0l721r24d6wz889vz4g6i67ijz0zc0ah967i3immi90zdmjwlyjg";
src = fetchFromGitHub {
owner = "grpc";
repo = "grpc";
rev= "d2c7d4dea492b9a86a53555aabdbfa90c2b01730";
sha256 = "1dpnhc5kw7znivrnjx1gva57v6b548am4v5nvh3dkwwzsa1k6vkv";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags ];