summary refs log tree commit diff
path: root/pkgs/tools/backup
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2022-03-05 20:49:00 +0100
committerGitHub <noreply@github.com>2022-03-05 20:49:00 +0100
commit00343a4b351a72124678111b890866677bcb9c85 (patch)
treea21ab7be0b8db279f0c660648f40a2f2f1ed8baf /pkgs/tools/backup
parent1bb2bd8f3db075eabfc55f022602e317c68218eb (diff)
parent0c10da55e447999a27a5b11a4780b93b552903a3 (diff)
downloadnixpkgs-00343a4b351a72124678111b890866677bcb9c85.tar
nixpkgs-00343a4b351a72124678111b890866677bcb9c85.tar.gz
nixpkgs-00343a4b351a72124678111b890866677bcb9c85.tar.bz2
nixpkgs-00343a4b351a72124678111b890866677bcb9c85.tar.lz
nixpkgs-00343a4b351a72124678111b890866677bcb9c85.tar.xz
nixpkgs-00343a4b351a72124678111b890866677bcb9c85.tar.zst
nixpkgs-00343a4b351a72124678111b890866677bcb9c85.zip
Merge pull request #160840 from dotlambda/restic-rest-server-0.11.0
restic-rest-server: 0.10.0 -> 0.11.0
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r--pkgs/tools/backup/restic/rest-server.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/backup/restic/rest-server.nix b/pkgs/tools/backup/restic/rest-server.nix
index 9f2a52d64dc..699343b8728 100644
--- a/pkgs/tools/backup/restic/rest-server.nix
+++ b/pkgs/tools/backup/restic/rest-server.nix
@@ -2,19 +2,20 @@
 
 buildGoModule rec {
   pname = "restic-rest-server";
-  version = "0.10.0";
+  version = "0.11.0";
 
   src = fetchFromGitHub {
     owner = "restic";
     repo = "rest-server";
     rev = "v${version}";
-    sha256 = "1msa6mah76zfif5wp0129jjk2jlq5ff38p9p6d241mw45i1xjfy7";
+    hash = "sha256-ninPODztNzvB2js9cuNAuExQLK/OGOu80ZNW0BPrdds=";
   };
 
-  vendorSha256 = "04w63sx7p0fm9xq0m7xab808az7lgw7i3p8basndszky8kgvxhmg";
+  vendorSha256 = "sha256-8x5qYvIX/C5BaewrTNVbIIadL+7XegbRUZiEDWmJM+c=";
 
   preCheck = ''
-    substituteInPlace handlers_test.go --replace "TestJoin" "SkipTestJoin"
+    substituteInPlace cmd/rest-server/main_test.go \
+      --replace "/tmp/restic" "/build/restic"
   '';
 
   meta = with lib; {