resticprofile: 0.27.1 -> 0.28.0

This commit is contained in:
TomaSajt 2024-08-20 16:32:45 +02:00
parent ff99b73fc8
commit 18ce9a7503
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -1,5 +1,6 @@
{
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}"