1 { lib, buildGoModule, fetchFromGitHub, nixosTests, nix-update-script }:
6 src = fetchFromGitHub {
7 rev = "${pname}-${version}";
10 hash = "sha256-V+O89hS2UopGLxGkg6W4gW8kj5QRzpwCQtq0QFrOWf0=";
21 updateScript = nix-update-script {
22 extraArgs = [ "--version-regex" "mimir-([0-9.]+)" ];
25 inherit (nixosTests) mimir;
30 let t = "github.com/grafana/mimir/pkg/util/version";
32 ''-extldflags "-static"''
35 "-X ${t}.Version=${version}"
36 "-X ${t}.Revision=unknown"
37 "-X ${t}.Branch=unknown"
42 "Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus. ";
43 homepage = "https://github.com/grafana/mimir";
44 license = licenses.agpl3Only;
45 maintainers = with maintainers; [ happysalada bryanhonof ];