restic: 0.18.1 -> 0.19.0 (#530032)

This commit is contained in:
Adam C. Stephens 2026-06-11 16:25:45 +00:00 committed by GitHub
commit f8330c7eb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View file

@ -122,7 +122,7 @@ in
];
};
remote-from-file-backup = {
inherit passwordFile exclude pruneOpts;
inherit passwordFile pruneOpts;
initialize = true;
repositoryFile = pkgs.writeText "repositoryFile" remoteFromFileRepository;
paths = [
@ -130,7 +130,8 @@ in
"/opt/a_dir/a_file_2"
];
dynamicFilesFrom = ''
find /opt -mindepth 1 -maxdepth 1 ! -name a_dir # all files in /opt except for a_dir
# all files in /opt except for a_dir and excluded_file_*
find /opt -mindepth 1 -maxdepth 1 ! -name a_dir ! -name excluded_file_*
'';
};
remote-from-command-backup = {

View file

@ -14,13 +14,13 @@
buildGoModule (finalAttrs: {
pname = "restic";
version = "0.18.1";
version = "0.19.0";
src = fetchFromGitHub {
owner = "restic";
repo = "restic";
rev = "v${finalAttrs.version}";
hash = "sha256-lLinqZUOsZCPPybvVDB1f8o9Hl5qKYi0eHwJAaydsD8=";
hash = "sha256-9o67zhGDnWNuKGDun3OXtzZHKqw/vCzx5sLuQd/HzRY=";
};
patches = [
@ -28,7 +28,7 @@ buildGoModule (finalAttrs: {
./0001-Skip-testing-restore-with-permission-failure.patch
];
vendorHash = "sha256-4GVhG1sjFiuKyDUAgmSmFww5bDKIoCjejkkoSqkvU4E=";
vendorHash = "sha256-iJLnmxReBoHnt1xfewmmNs+fG3nqcNSpfJ1998wXKNU=";
subPackages = [ "cmd/restic" ];