1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

phlare: 0.3.0 -> 0.5.1

This commit is contained in:
R. Ryantm 2023-02-25 01:25:48 +00:00
parent 21299ca839
commit 26c256b671

View file

@ -2,23 +2,23 @@
buildGoModule rec {
pname = "phlare";
version = "0.3.0";
version = "0.5.1";
src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "phlare";
sha256 = "sha256-z1PT5chkpHQJPziY7bGf6W1X5uezL6E2GUV6w/NlyFk=";
sha256 = "sha256-q7y3sZMI1Kk7Ar0ER8RoU1Y7xAhFh89y/mzESjLrxcM=";
};
proxyVendor = true;
vendorSha256 = "sha256-KJbh+M9jYxUW9akVBHZoB/mtOHWpMPtlwIgC9fu+NYY=";
vendorHash = "sha256-Oz1qV+3sB0pOWGEMtp7mgMR9Ljd0rd9oa6NJO2azTJg=";
ldflags = let
prefix = "github.com/grafana/phlare/pkg/util/build";
in [
"-s" "-w"
# https://github.com/grafana/phlare/blob/v0.3.0/Makefile#L32
# https://github.com/grafana/phlare/blob/v0.5.1/Makefile#L32
"-X ${prefix}.Version=${version}"
"-X ${prefix}.Branch=v${version}"
"-X ${prefix}.Revision=v${version}"