update rustic-rs to 0.7.0

This commit is contained in:
Dmitriy Kholkin 2024-02-04 15:35:47 +03:00
parent 9523a36795
commit d403f77ce6
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
2 changed files with 28 additions and 0 deletions

View File

@ -114,6 +114,7 @@
sharedPatches = patchesPath [
"authentik-271885.patch"
"rustic-rs-0.7.0.patch"
"vaultwarden.patch"
"webhooks.patch"
];

View File

@ -0,0 +1,27 @@
diff --git a/pkgs/tools/backup/rustic-rs/default.nix b/pkgs/tools/backup/rustic-rs/default.nix
index c6159a899b04..3971cc0df9e6 100644
--- a/pkgs/tools/backup/rustic-rs/default.nix
+++ b/pkgs/tools/backup/rustic-rs/default.nix
@@ -10,16 +10,19 @@
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=";
+
+ buildNoDefaultFeatures = true;
+ buildFeatures = [ "webdav" ];
nativeBuildInputs = [ installShellFiles ];