diff --git a/pkgs/tools/backup/rustic-rs/default.nix b/pkgs/by-name/ru/rustic/package.nix similarity index 93% rename from pkgs/tools/backup/rustic-rs/default.nix rename to pkgs/by-name/ru/rustic/package.nix index b5cae0b17c68..2c49e5a5eb7b 100644 --- a/pkgs/tools/backup/rustic-rs/default.nix +++ b/pkgs/by-name/ru/rustic/package.nix @@ -9,7 +9,7 @@ }: rustPlatform.buildRustPackage rec { - pname = "rustic-rs"; + pname = "rustic"; version = "0.7.0"; src = fetchFromGitHub { @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { hash = "sha256-jUAmboJTzX4oJZy9rFiPRbm94bVpZGa0SaqotoCU/Ss="; }; - cargoHash = "sha256-iZuWlYDGGziwb49BfKdt9Ahs6oQ0Ij2iiT0tvL7ZIVk="; + cargoHash = "sha256-8YGvxnwD9Vshah2jZ+XxOW0qB4nvWsOyLY1W8k+xQzU="; # 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. diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 9c57df4f68d6..c73634dcf6ed 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1318,6 +1318,7 @@ mapAliases ({ runCommandNoCC = runCommand; runCommandNoCCLocal = runCommandLocal; rustc-wasm32 = rustc; # Added 2023-12-01 + rustic-rs = rustic; # Added 2024-08-02 rxvt_unicode = rxvt-unicode-unwrapped; # Added 2020-02-02 rxvt_unicode-with-plugins = rxvt-unicode; # Added 2020-02-02 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1f5d7d009ecf..aaa89ed5ebe9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25856,7 +25856,7 @@ with pkgs; roon-server = callPackage ../servers/roon-server { }; - rustic-rs = callPackage ../tools/backup/rustic-rs { + rustic = callPackage ../by-name/ru/rustic/package.nix { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; };