Commit 31673ceb authored by Anderson Torres's avatar Anderson Torres
Browse files

lightstep-tracer-cpp: drop

OpenTracing projects are basically dead.
parent 27cb30e0
Loading
Loading
Loading
Loading
+0 −36
Original line number Diff line number Diff line
{ stdenv, lib, fetchFromGitHub, pkg-config, cmake
, opentracing-cpp, protobuf
, enableGrpc ? false, grpc, openssl
}:

stdenv.mkDerivation rec {
  pname = "lightstep-tracer-cpp";
  version = "0.14.0";

  src = fetchFromGitHub {
    owner = "lightstep";
    repo = pname;
    rev = "v${version}";
    sha256 = "1xr11dm94qpbx3nxb7si7zy7hzg2akj01pyxkd8pzzbvmkmic16j";
  };

  nativeBuildInputs = [
    cmake pkg-config
  ];

  buildInputs = [
    opentracing-cpp protobuf
  ] ++ lib.optionals enableGrpc [
    grpc openssl
  ];

  cmakeFlags = lib.optionals (!enableGrpc) [ "-DWITH_GRPC=OFF" ];

  meta = with lib; {
    description = "Distributed tracing system built on top of the OpenTracing standard";
    homepage = "https://lightstep.com/";
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = with maintainers; [ ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -462,6 +462,7 @@ mapAliases ({
  libyamlcpp_0_3 = yaml-cpp_0_3; # Added 2023-01-29
  libxkbcommon_7 = throw "libxkbcommon_7 has been removed because it is impacted by security issues and not used in nixpkgs, move to 'libxkbcommon'"; # Added 2023-01-03
  lightdm_gtk_greeter = lightdm-gtk-greeter; # Added 2022-08-01
  lightstep-tracer-cpp = throw "lightstep-tracer-cpp is deprecated since 2022-08-29; the upstream recommends migration to opentelemetry projects.";
  llama = walk; # Added 2023-01-23

  # Linux kernels
+1 −5
Original line number Diff line number Diff line
@@ -11707,8 +11707,6 @@ with pkgs;
  opentelemetry-collector = callPackage ../tools/misc/opentelemetry-collector { };
  opentelemetry-collector-contrib = callPackage ../tools/misc/opentelemetry-collector/contrib.nix { };
  opentracing-cpp = callPackage ../development/libraries/opentracing-cpp { };
  openvswitch = callPackage ../os-specific/linux/openvswitch { };
  openvswitch-lts = callPackage ../os-specific/linux/openvswitch/lts.nix { };
@@ -23821,9 +23819,7 @@ with pkgs;
  lightspark = callPackage ../misc/lightspark { };
  lightstep-tracer-cpp = callPackage ../development/libraries/lightstep-tracer-cpp {
    protobuf = protobuf3_21;
  };
  opentracing-cpp = callPackage ../development/libraries/opentracing-cpp { };
  ligolo-ng = callPackage ../tools/networking/ligolo-ng { };