depot/third_party/nixpkgs/pkgs/servers/tracing/tempo/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

42 lines
856 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tempo";
version = "2.3.1";
src = fetchFromGitHub {
owner = "grafana";
repo = "tempo";
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-U4qn4bBaVCDRQArlxXUURwjz5iPQv7R8o2+xR3PQHGc=";
};
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 ];
};
}