nixpkgs/pkgs/servers/tracing/tempo/default.nix
2022-06-19 17:52:22 +03:00

36 lines
822 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tempo";
version = "1.4.1";
src = fetchFromGitHub {
owner = "grafana";
repo = "tempo";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-kxR+xwhthsK3gThs0jPJfWlsRG35kCuWvKH3Wr7ENTs=";
};
vendorSha256 = null;
subPackages = [
"cmd/tempo-cli"
"cmd/tempo-query"
# FIXME: build is broken upstream, enable for next release
# "cmd/tempo-serverless"
"cmd/tempo-vulture"
"cmd/tempo"
];
# 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;
};
}