mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
Merge pull request #330313 from hellodword/restic-0.17.0
restic: 0.16.5 -> 0.17.0
This commit is contained in:
commit
e5923af124
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user