depot/third_party/nixpkgs/pkgs/servers/tracing/tempo/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

42 lines
856 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tempo";
version = "2.3.0";
src = fetchFromGitHub {
owner = "grafana";
repo = "tempo";
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-vqYewQT2alW9HFYRh/Ok3jFt2a+VsfqDypNaT+mngys=";
};
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 ];
};
}