1 { lib, stdenv, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-iaNwOV8XP6H8DDs2HcOIIl8sNM6Xi5VsRxSb80mvvLo=";
15 vendorHash = "sha256-l7+iDT9GAP9BX+xKvnx57iVF8wCM1YyHwq6dD9PbTDI=";
18 prefix = "github.com/grafana/phlare/pkg/util/build";
21 # https://github.com/grafana/phlare/blob/v0.6.1/Makefile#L32
22 "-X ${prefix}.Version=${version}"
23 "-X ${prefix}.Branch=v${version}"
24 "-X ${prefix}.Revision=v${version}"
25 "-X ${prefix}.BuildUser=nix"
26 "-X ${prefix}.BuildDate=1980-01-01T00:00:00Z"
35 description = "Grafana Phlare is an open source database that provides fast, scalable, highly available, and efficient storage and querying of profiling data.";
36 license = licenses.agpl3Only;
37 homepage = "https://grafana.com/oss/phlare";
38 maintainers = with maintainers; [ cathalmullan ];