mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
restic: 0.18.1 -> 0.19.0 (#530032)
This commit is contained in:
commit
f8330c7eb5
2 changed files with 6 additions and 5 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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" ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue