2024-10-11 05:15:48 +00:00
|
|
|
{ lib, buildGo122Module, fetchFromGitHub }:
|
2020-11-06 00:33:48 +00:00
|
|
|
|
2024-10-11 05:15:48 +00:00
|
|
|
# Does not build with Go 1.23
|
|
|
|
# FIXME: check again for next release
|
|
|
|
buildGo122Module rec {
|
2020-11-06 00:33:48 +00:00
|
|
|
pname = "tempo";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "2.6.0";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "grafana";
|
|
|
|
repo = "tempo";
|
2022-07-14 12:49:19 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
fetchSubmodules = true;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-jWoGKY+kC9VAK7jPFaGMJQkC/JeAiUjzqKhE2XjuJio=";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
vendorHash = null;
|
2020-11-06 00:33:48 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
subPackages = [
|
|
|
|
"cmd/tempo-cli"
|
|
|
|
"cmd/tempo-query"
|
2022-08-21 13:32:41 +00:00
|
|
|
"cmd/tempo-serverless"
|
2022-07-14 12:49:19 +00:00
|
|
|
"cmd/tempo-vulture"
|
|
|
|
"cmd/tempo"
|
|
|
|
];
|
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X=main.Version=${version}"
|
|
|
|
"-X=main.Branch=<release>"
|
|
|
|
"-X=main.Revision=${version}"
|
|
|
|
];
|
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
# tests use docker
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "High volume, minimal dependency trace storage";
|
2020-11-06 00:33:48 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = "https://grafana.com/oss/tempo/";
|
|
|
|
maintainers = with maintainers; [ willibutz ];
|
|
|
|
};
|
|
|
|
}
|