Merge pull request #330313 from hellodword/restic-0.17.0

restic: 0.16.5 -> 0.17.0
This commit is contained in:
Bruno Bigras 2024-07-28 16:30:51 -04:00 committed by GitHub
commit e5923af124
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,15 +1,15 @@
{ stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles, makeWrapper
, nixosTests, rclone }:
, nixosTests, rclone, python3 }:
buildGoModule rec {
pname = "restic";
version = "0.16.5";
version = "0.17.0";
src = fetchFromGitHub {
owner = "restic";
repo = "restic";
rev = "v${version}";
hash = "sha256-WwySXQU8eoyQRcI+zF+pIIKLEFheTnqkPTw0IZeUrhA=";
hash = "sha256-fd67ZehmgHHd+R/V4hJCREWoY3lFKSTfvbLRgJ0PSAM=";
};
patches = [
@ -17,12 +17,14 @@ buildGoModule rec {
./0001-Skip-testing-restore-with-permission-failure.patch
];
vendorHash = "sha256-VZTX0LPZkqN4+OaaIkwepbGwPtud8Cu7Uq7t1bAUC8M=";
vendorHash = "sha256-tU2msDHktlU0SvvxLQCU64p8DpL8B0QiliVCuHlLTHQ=";
subPackages = [ "cmd/restic" ];
nativeBuildInputs = [ installShellFiles makeWrapper ];
nativeCheckInputs = [ python3 ];
passthru.tests.restic = nixosTests.restic;
postPatch = ''