fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
42 lines
856 B
Nix
42 lines
856 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "tempo";
|
|
version = "2.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "grafana";
|
|
repo = "tempo";
|
|
rev = "v${version}";
|
|
fetchSubmodules = true;
|
|
hash = "sha256-n7jv9Ki3cLlPDzm9IT0XLTT8t1nlifI0+SRAV6XDJlA=";
|
|
};
|
|
|
|
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 = "A high volume, minimal dependency trace storage";
|
|
license = licenses.asl20;
|
|
homepage = "https://grafana.com/oss/tempo/";
|
|
maintainers = with maintainers; [ willibutz ];
|
|
};
|
|
}
|