restic: 0.15.2 -> 0.16.0 (#246614)

Diff: https://github.com/restic/restic/compare/v0.15.2...v0.16.0

Changelog: https://github.com/restic/restic/blob/v0.16.0/CHANGELOG.md

authored by Robert Schütz and committed by GitHub 353b200c 3f0f188b

+12 -12
+8 -8
pkgs/tools/backup/restic/0001-Skip-testing-restore-with-permission-failure.patch
··· 1 - From 8e6186be04e2819b6e3586e5d1aeb8a824e1979f Mon Sep 17 00:00:00 2001 1 + From 72f7d8abee34107b815e49540f2fad7f1ab0b2cc Mon Sep 17 00:00:00 2001 2 2 From: Simon Bruder <simon@sbruder.de> 3 3 Date: Thu, 25 Feb 2021 09:20:51 +0100 4 4 Subject: [PATCH] Skip testing restore with permission failure 5 5 6 6 The test fails in sandboxed builds. 7 7 --- 8 - cmd/restic/integration_test.go | 1 + 8 + cmd/restic/cmd_restore_integration_test.go | 1 + 9 9 1 file changed, 1 insertion(+) 10 10 11 - diff --git a/cmd/restic/integration_test.go b/cmd/restic/integration_test.go 12 - index 7d198d33..1588ccb1 100644 13 - --- a/cmd/restic/integration_test.go 14 - +++ b/cmd/restic/integration_test.go 15 - @@ -1170,6 +1170,7 @@ func TestRestoreLatest(t *testing.T) { 11 + diff --git a/cmd/restic/cmd_restore_integration_test.go b/cmd/restic/cmd_restore_integration_test.go 12 + index 2c7cbe1fb..f25f13754 100644 13 + --- a/cmd/restic/cmd_restore_integration_test.go 14 + +++ b/cmd/restic/cmd_restore_integration_test.go 15 + @@ -200,6 +200,7 @@ func TestRestoreLatest(t *testing.T) { 16 16 } 17 17 18 18 func TestRestoreWithPermissionFailure(t *testing.T) { ··· 21 21 defer cleanup() 22 22 23 23 -- 24 - 2.29.2 24 + 2.41.0 25 25
+4 -4
pkgs/tools/backup/restic/default.nix
··· 3 3 4 4 buildGoModule rec { 5 5 pname = "restic"; 6 - version = "0.15.2"; 6 + version = "0.16.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "restic"; 10 10 repo = "restic"; 11 11 rev = "v${version}"; 12 - hash = "sha256-YJBHk/B8+q5f0k5i5hpucsJK4T/cRu9Jv7+O6vlT64Q="; 12 + hash = "sha256-kxxQlU3bKBjCb1aEtcLBmcnPg4KFgFlbFhs9MmbAgk8="; 13 13 }; 14 14 15 15 patches = [ ··· 17 17 ./0001-Skip-testing-restore-with-permission-failure.patch 18 18 ]; 19 19 20 - vendorHash = "sha256-GWFaCfiE8Ph2uBTBI0E47pH+EJsMsMr1NDuaIGvyXRM="; 20 + vendorHash = "sha256-m5smEyAt9RxgvUf1pZqIhgja2h8MWfEgjJ4jUgrPMPY="; 21 21 22 22 subPackages = [ "cmd/restic" ]; 23 23 ··· 26 26 passthru.tests.restic = nixosTests.restic; 27 27 28 28 postPatch = '' 29 - rm cmd/restic/integration_fuse_test.go 29 + rm cmd/restic/cmd_mount_integration_test.go 30 30 ''; 31 31 32 32 postInstall = ''