From 340654adda3f0a74d3dfa1abf16d314d78891e52 Mon Sep 17 00:00:00 2001 From: Norbert Melzer Date: Sun, 4 Feb 2024 01:22:06 +0100 Subject: [PATCH] rustic-rs: 0.6.1 -> 0.7.0 --- pkgs/tools/backup/rustic-rs/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/backup/rustic-rs/default.nix b/pkgs/tools/backup/rustic-rs/default.nix index c6159a899b04..b5cae0b17c68 100644 --- a/pkgs/tools/backup/rustic-rs/default.nix +++ b/pkgs/tools/backup/rustic-rs/default.nix @@ -10,16 +10,23 @@ rustPlatform.buildRustPackage rec { pname = "rustic-rs"; - version = "0.6.1"; + version = "0.7.0"; src = fetchFromGitHub { owner = "rustic-rs"; repo = "rustic"; rev = "refs/tags/v${version}"; - hash = "sha256-rpIEgQYwfManfgTrhCt6/Q4VBY2yyn4edC6/mz5D7nM="; + hash = "sha256-jUAmboJTzX4oJZy9rFiPRbm94bVpZGa0SaqotoCU/Ss="; }; - cargoHash = "sha256-q+K887jPB9i9iXpFYXjn3zppAPWNlTc2AG7ivOr77J4="; + cargoHash = "sha256-iZuWlYDGGziwb49BfKdt9Ahs6oQ0Ij2iiT0tvL7ZIVk="; + + # At the time of writing, upstream defaults to "self-update" and "webdav". + # "self-update" is a self-updater, which we don't want in nixpkgs. + buildNoDefaultFeatures = true; + buildFeatures = [ + "webdav" + ]; nativeBuildInputs = [ installShellFiles ];