mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
Merge pull request #238401 from r-ryantm/auto-update/phlare
phlare: 0.5.1 -> 0.6.1
This commit is contained in:
commit
74acd0ee0d
@ -2,23 +2,23 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "phlare";
|
||||
version = "0.5.1";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "grafana";
|
||||
repo = "phlare";
|
||||
sha256 = "sha256-q7y3sZMI1Kk7Ar0ER8RoU1Y7xAhFh89y/mzESjLrxcM=";
|
||||
sha256 = "sha256-iaNwOV8XP6H8DDs2HcOIIl8sNM6Xi5VsRxSb80mvvLo=";
|
||||
};
|
||||
|
||||
proxyVendor = true;
|
||||
vendorHash = "sha256-Oz1qV+3sB0pOWGEMtp7mgMR9Ljd0rd9oa6NJO2azTJg=";
|
||||
vendorHash = "sha256-y8IWS5OQkDYRTt5xOzzbjb1ya6AiFtvAc0YNH99KZBA=";
|
||||
|
||||
ldflags = let
|
||||
prefix = "github.com/grafana/phlare/pkg/util/build";
|
||||
in [
|
||||
"-s" "-w"
|
||||
# https://github.com/grafana/phlare/blob/v0.5.1/Makefile#L32
|
||||
# https://github.com/grafana/phlare/blob/v0.6.1/Makefile#L32
|
||||
"-X ${prefix}.Version=${version}"
|
||||
"-X ${prefix}.Branch=v${version}"
|
||||
"-X ${prefix}.Revision=v${version}"
|
||||
|
Loading…
Reference in New Issue
Block a user