Files
nixpkgs/pkgs/by-name/te/tempo/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
1008 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "tempo";
version = "2.8.2";
src = fetchFromGitHub {
owner = "grafana";
repo = "tempo";
tag = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-mROhsqbCwPulxtg3pHVZi8FmW9PrYzGPdE0ajVvzRBY=";
};
vendorHash = null;
subPackages = [
"cmd/tempo-cli"
"cmd/tempo-query"
"cmd/tempo-vulture"
"cmd/tempo"
];
ldflags = [
"-s"
"-w"
"-X=main.Version=${finalAttrs.version}"
"-X=main.Branch=<release>"
"-X=main.Revision=${finalAttrs.version}"
];
# tests use docker
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "High volume, minimal dependency trace storage";
changelog = "https://github.com/grafana/tempo/releases/tag/v${finalAttrs.version}";
license = licenses.asl20;
homepage = "https://grafana.com/oss/tempo/";
maintainers = [ ];
};
})