2020-06-07 18:14:48 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
(pkgs.originals.grpc.override {
|
2020-07-05 19:04:32 +02:00
|
|
|
abseil-cpp = pkgs.abseil_cpp;
|
2020-06-07 18:14:48 +02:00
|
|
|
protobuf = pkgs.protobuf;
|
|
|
|
stdenv = pkgs.llvmPackages.libcxxStdenv;
|
2020-07-05 19:04:32 +02:00
|
|
|
}).overrideAttrs(orig: rec {
|
|
|
|
version = "1.30.0";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "grpc";
|
|
|
|
repo = "grpc";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "01w5jdp318i7ncxbkfv75q0mf0rd3qwfr1ycdd3850nv6mprv7n0";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2020-06-07 18:14:48 +02:00
|
|
|
|
|
|
|
cmakeFlags = orig.cmakeFlags ++ [
|
2020-07-05 19:04:32 +02:00
|
|
|
"-DCMAKE_CXX_STANDARD=17"
|
|
|
|
"-DCMAKE_CXX_STANDARD_REQUIRED=ON"
|
2020-06-07 18:14:48 +02:00
|
|
|
];
|
|
|
|
})
|