Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / tracing / tempo / default.nix
blobfbd633b43cff6ddc21d66eb7a2f29de9ace5dd59
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "tempo";
5   version = "2.5.0";
7   src = fetchFromGitHub {
8     owner = "grafana";
9     repo = "tempo";
10     rev = "v${version}";
11     fetchSubmodules = true;
12     hash = "sha256-SSAeJOOd282Mnmaj/W5sM8J64qvD9/0SvlbHUtXYYF8=";
13   };
15   vendorHash = null;
17   subPackages = [
18     "cmd/tempo-cli"
19     "cmd/tempo-query"
20     "cmd/tempo-serverless"
21     "cmd/tempo-vulture"
22     "cmd/tempo"
23   ];
25   ldflags = [
26     "-s"
27     "-w"
28     "-X=main.Version=${version}"
29     "-X=main.Branch=<release>"
30     "-X=main.Revision=${version}"
31   ];
33   # tests use docker
34   doCheck = false;
36   meta = with lib; {
37     description = "High volume, minimal dependency trace storage";
38     license = licenses.asl20;
39     homepage = "https://grafana.com/oss/tempo/";
40     maintainers = with maintainers; [ willibutz ];
41   };