c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
43 lines
893 B
Nix
43 lines
893 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "tempo";
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "grafana";
|
|
repo = "tempo";
|
|
rev = "v${version}";
|
|
fetchSubmodules = true;
|
|
sha256 = "sha256-gnQAldqfxJk8kbXAyX1VQXddCnSBWnvc3wesYoYI7wI=";
|
|
};
|
|
|
|
vendorSha256 = 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 = "A high volume, minimal dependency trace storage";
|
|
license = licenses.asl20;
|
|
homepage = "https://grafana.com/oss/tempo/";
|
|
maintainers = with maintainers; [ willibutz ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|