2020-11-06 00:33:48 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tempo";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "2.5.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-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-SSAeJOOd282Mnmaj/W5sM8J64qvD9/0SvlbHUtXYYF8=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|