Loading
+6 −9
Original line number Diff line number Diff line
@@ -13,13 +13,13 @@

buildGoModule (finalAttrs: {
  pname = "VictoriaTraces";
  version = "0.2.0";
  version = "0.5.0";

  src = fetchFromGitHub {
    owner = "VictoriaMetrics";
    repo = "VictoriaTraces";
    tag = "v${finalAttrs.version}";
    hash = "sha256-b4/ix191xtW2HpczfRbez2gibgGx7jBRm0hvuP/rTpA=";
    hash = "sha256-jmcwn2/UB87wOBCHvquHIgc+a/sCXnxC63nddlZuSL0=";
  };

  vendorHash = null;
@@ -31,12 +31,6 @@ buildGoModule (finalAttrs: {
    ++ lib.optionals withVtStorage [ "app/vtstorage" ]
    ++ lib.optionals withVtGen [ "app/vtgen" ];

  postPatch = ''
    # Allow older go versions
    substituteInPlace go.mod \
      --replace-fail "go 1.24.6" "go ${finalAttrs.passthru.go.version}"
  '';

  ldflags = [
    "-s"
    "-w"
@@ -56,7 +50,10 @@ buildGoModule (finalAttrs: {
    homepage = "https://docs.victoriametrics.com/victoriatraces/";
    description = "Fast open-source observability solution for distributed traces";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ cmacrae ];
    maintainers = with lib.maintainers; [
      cmacrae
      ma27
    ];
    changelog = "https://github.com/VictoriaMetrics/VictoriaTraces/releases/tag/${finalAttrs.src.tag}";
    mainProgram = "victoria-traces";
  };