mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
mimir: 2.9.0 -> 2.10.0
This commit is contained in:
parent
835736de35
commit
b27d40ed61
1 changed files with 13 additions and 12 deletions
|
@ -1,16 +1,16 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, nixosTests, nix-update-script }:
|
||||
buildGoModule rec {
|
||||
pname = "mimir";
|
||||
version = "2.9.0";
|
||||
version = "2.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "${pname}-${version}";
|
||||
owner = "grafana";
|
||||
repo = pname;
|
||||
sha256 = "sha256-6URhofT5zJZX2eFx7fNPrFOWF7Po3ChlmVHGTpvG24c=";
|
||||
hash = "sha256-4UBbtJRQ6F3Dm+G4OWZeWtD4MJWtq91yiSZNW7EhEto=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
vendorHash = null;
|
||||
|
||||
subPackages = [
|
||||
"cmd/mimir"
|
||||
|
@ -26,15 +26,16 @@ buildGoModule rec {
|
|||
};
|
||||
};
|
||||
|
||||
ldflags = let t = "github.com/grafana/mimir/pkg/util/version";
|
||||
in [
|
||||
''-extldflags "-static"''
|
||||
"-s"
|
||||
"-w"
|
||||
"-X ${t}.Version=${version}"
|
||||
"-X ${t}.Revision=unknown"
|
||||
"-X ${t}.Branch=unknown"
|
||||
];
|
||||
ldflags =
|
||||
let t = "github.com/grafana/mimir/pkg/util/version";
|
||||
in [
|
||||
''-extldflags "-static"''
|
||||
"-s"
|
||||
"-w"
|
||||
"-X ${t}.Version=${version}"
|
||||
"-X ${t}.Revision=unknown"
|
||||
"-X ${t}.Branch=unknown"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
|
|
Loading…
Reference in a new issue