Unverified Commit 66a437eb authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

mimir: 2.17.2 -> 3.0.0 (#457277)

parents 92b54245 a61020a1
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -5,15 +5,15 @@
  nixosTests,
  nix-update-script,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
  pname = "mimir";
  version = "2.17.2";
  version = "3.0.0";

  src = fetchFromGitHub {
    rev = "mimir-${version}";
    rev = "mimir-${finalAttrs.version}";
    owner = "grafana";
    repo = "mimir";
    hash = "sha256-aESZvcKZQwT563cGQQcrMTXEPo55niS8cQrGFFrLfoU=";
    hash = "sha256-eLdlfGz5OQ3bPWhO2niBynaIPtxXg3x2qD89VK7uuA0=";
  };

  vendorHash = null;
@@ -54,7 +54,7 @@ buildGoModule rec {
    [
      "-s"
      "-w"
      "-X ${t}.Version=${version}"
      "-X ${t}.Version=${finalAttrs.version}"
      "-X ${t}.Revision=unknown"
      "-X ${t}.Branch=unknown"
    ];
@@ -62,6 +62,7 @@ buildGoModule rec {
  meta = with lib; {
    description = "Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus. ";
    homepage = "https://github.com/grafana/mimir";
    changelog = "https://github.com/grafana/mimir/releases/tag/mimir-${finalAttrs.version}";
    license = licenses.agpl3Only;
    maintainers = with maintainers; [
      happysalada
@@ -69,4 +70,4 @@ buildGoModule rec {
      adamcstephens
    ];
  };
}
})