depot/third_party/nixpkgs/pkgs/servers/tracing/tempo/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

43 lines
893 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tempo";
version = "2.0.0";
src = fetchFromGitHub {
owner = "grafana";
repo = "tempo";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-sVvQQm2hE5J6ZesL8YRkdq/OwzHziBCsa3D/b1kYPpw=";
};
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;
};
}