Unverified Commit 90a830b8 authored by lassulus's avatar lassulus Committed by GitHub
Browse files

resticprofile: 0.27.1 -> 0.28.0 (#336074)

parents 470954b8 18ce9a75
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
{
  lib,
  go_1_23,
  buildGoModule,
  fetchFromGitHub,
  installShellFiles,
@@ -9,15 +10,19 @@
  resticprofile,
}:

buildGoModule rec {
let
  # can be removed when the default go version is at least 1.23
  buildGoModule' = buildGoModule.override { go = go_1_23; };
in
buildGoModule' rec {
  pname = "resticprofile";
  version = "0.27.1";
  version = "0.28.0";

  src = fetchFromGitHub {
    owner = "creativeprojects";
    repo = "resticprofile";
    rev = "refs/tags/v${version}";
    hash = "sha256-HHFeWsEO1KUzL5Y6Iwy7MylA//JYzY3h1EwKrUHfXpY=";
    hash = "sha256-Ab+XesAw/GkNEGwAp1ERUlfDlI9Kxmd0UnS52v+nWIs=";
  };

  postPatch = ''
@@ -32,7 +37,7 @@ buildGoModule rec {

  '';

  vendorHash = "sha256-t2R5uNsliSn+rIvRM0vT6lQJY62DhhozXnONiCJ9CMc=";
  vendorHash = "sha256-LLFdVB4n07Sq/QH1C7rutdpzfhkJvM9lvRg5exyYixM=";

  ldflags = [
    "-X main.commit=${src.rev}"