3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #218128 from r-ryantm/auto-update/phlare

phlare: 0.3.0 -> 0.5.1
This commit is contained in:
Weijia Wang 2023-02-25 20:42:36 +02:00 committed by GitHub
commit 4ef8ffa6c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}"