lightstep-tracer-cpp: remove packages which are no longer required after #116317, cleanup ? null
This commit is contained in:
parent
ad72e5fbc3
commit
f8c2491184
|
@ -1,12 +1,8 @@
|
|||
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake
|
||||
, opentracing-cpp, protobuf, zlib
|
||||
, enableGrpc ? false, grpc ? null, openssl ? null, c-ares ? null
|
||||
, opentracing-cpp, protobuf
|
||||
, enableGrpc ? false, grpc, openssl
|
||||
}:
|
||||
|
||||
assert enableGrpc -> grpc != null;
|
||||
assert enableGrpc -> openssl != null;
|
||||
assert enableGrpc -> c-ares != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lightstep-tracer-cpp";
|
||||
version = "0.14.0";
|
||||
|
@ -23,9 +19,9 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
opentracing-cpp protobuf zlib
|
||||
opentracing-cpp protobuf
|
||||
] ++ lib.optionals enableGrpc [
|
||||
grpc openssl c-ares c-ares.cmake-config
|
||||
grpc openssl
|
||||
];
|
||||
|
||||
cmakeFlags = lib.optionals (!enableGrpc) [ "-DWITH_GRPC=OFF" ];
|
||||
|
|
Loading…
Reference in New Issue