mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
thanos: 0.31.0 -> 0.32.5
https://github.com/thanos-io/thanos/releases/tag/v0.32.0 https://github.com/thanos-io/thanos/releases/tag/v0.32.1 https://github.com/thanos-io/thanos/releases/tag/v0.32.2 https://github.com/thanos-io/thanos/releases/tag/v0.32.3 https://github.com/thanos-io/thanos/releases/tag/v0.32.4 Co-authored-by: Jonathan Davies <jpds@protonmail.com>
This commit is contained in:
parent
005576a684
commit
9b0817cf74
@ -1,24 +1,21 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, go
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "thanos";
|
||||
version = "0.31.0";
|
||||
version = "0.32.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "thanos-io";
|
||||
repo = "thanos";
|
||||
sha256 = "sha256-EJZGc4thu0WhVSSRolIRYg39S81Cgm+JHwpW5eE7mDc=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-A4bDCyvctHmDBYzvWpeEO4u6KhoICN7BbRQK4aZCbIA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/thanos-io/thanos/pull/6126
|
||||
(fetchpatch {
|
||||
url = "https://github.com/thanos-io/thanos/commit/a4c218bd690259fc0c78fe67e0739bd33d38541e.patch";
|
||||
hash = "sha256-Hxc1s5IXAyw01/o4JvOXuyYuOFy0+cBUv3OkRv4DCXs=";
|
||||
})
|
||||
];
|
||||
|
||||
vendorHash = "sha256-8+MUMux6v/O2syVyTx758yUBfJkertzibz6yFB05nWk=";
|
||||
vendorHash = "sha256-ZjkMvbWq96Rte9WoxAWzeouVA/6mBqanvY9yHr9F5MM=";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@ -30,11 +27,13 @@ buildGoModule rec {
|
||||
"-X ${t}.Branch=unknown"
|
||||
"-X ${t}.BuildUser=nix@nixpkgs"
|
||||
"-X ${t}.BuildDate=unknown"
|
||||
"-X ${t}.GoVersion=${lib.getVersion go}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Highly available Prometheus setup with long term storage capabilities";
|
||||
homepage = "https://github.com/thanos-io/thanos";
|
||||
changelog = "https://github.com/thanos-io/thanos/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ basvandijk ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user