From 493c9e0d860ccd2c5dce3f4d60436a93d415a4a7 Mon Sep 17 00:00:00 2001 From: renesat Date: Mon, 2 May 2022 22:20:37 +0300 Subject: [PATCH] autorestic: 1.5.8 -> 1.7.1 --- pkgs/tools/backup/autorestic/default.nix | 8 ++++---- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/backup/autorestic/default.nix b/pkgs/tools/backup/autorestic/default.nix index d7b6af031644..45a359e0aadb 100644 --- a/pkgs/tools/backup/autorestic/default.nix +++ b/pkgs/tools/backup/autorestic/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "autorestic"; - version = "1.5.8"; + version = "1.7.1"; src = fetchFromGitHub { owner = "cupcakearmy"; repo = pname; rev = "v${version}"; - sha256 = "sha256-0eq2u3DCNgfxsiE4lycf+xGIoEC3sZgEMha9+40j+9s="; + sha256 = "sha256-UUK5C26wM8LKQ7TE6DWEfzq+uPXH09B2Nybkfuqk+1o="; }; - vendorSha256 = "sha256-qYXdRpQT7x+Y5h8PuKGjsANXLqjNlsPKO76GQhnufTU="; + vendorSha256 = "sha256-eB24vCElnnk3EMKniCblmeRsFk0BQ0wFeBf0B8OPanE="; nativeBuildInputs = [ installShellFiles ]; @@ -27,6 +27,6 @@ buildGoModule rec { homepage = "https://github.com/cupcakearmy/autorestic"; license = licenses.asl20; maintainers = with maintainers; [ renesat ]; - platforms = platforms.linux ++ platforms.darwin; + mainProgram = "autorestic"; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 80bc32f334bd..fbd4966780e7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -161,7 +161,9 @@ with pkgs; autoconf = autoconf269; }; - autorestic = callPackage ../tools/backup/autorestic { }; + autorestic = callPackage ../tools/backup/autorestic { + buildGoModule = buildGo118Module; + }; autoPatchelfHook = makeSetupHook { name = "auto-patchelf-hook";