ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
44 lines
928 B
Nix
44 lines
928 B
Nix
{ lib, buildGo122Module, fetchFromGitHub }:
|
|
|
|
# Does not build with Go 1.23
|
|
# FIXME: check again for next release
|
|
buildGo122Module rec {
|
|
pname = "tempo";
|
|
version = "2.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "grafana";
|
|
repo = "tempo";
|
|
rev = "v${version}";
|
|
fetchSubmodules = true;
|
|
hash = "sha256-jWoGKY+kC9VAK7jPFaGMJQkC/JeAiUjzqKhE2XjuJio=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
subPackages = [
|
|
"cmd/tempo-cli"
|
|
"cmd/tempo-query"
|
|
"cmd/tempo-serverless"
|
|
"cmd/tempo-vulture"
|
|
"cmd/tempo"
|
|
];
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X=main.Version=${version}"
|
|
"-X=main.Branch=<release>"
|
|
"-X=main.Revision=${version}"
|
|
];
|
|
|
|
# tests use docker
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "High volume, minimal dependency trace storage";
|
|
license = licenses.asl20;
|
|
homepage = "https://grafana.com/oss/tempo/";
|
|
maintainers = with maintainers; [ willibutz ];
|
|
};
|
|
}
|