From ac3d1b53371a928e2123d2689e4163a4192f8df1 Mon Sep 17 00:00:00 2001 From: Janik H Date: Sun, 14 May 2023 05:06:56 +0200 Subject: [PATCH] restic-integrity: init at 1.2.1 --- .../backup/restic-integrity/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 26 insertions(+) create mode 100644 pkgs/applications/backup/restic-integrity/default.nix diff --git a/pkgs/applications/backup/restic-integrity/default.nix b/pkgs/applications/backup/restic-integrity/default.nix new file mode 100644 index 000000000000..6c571527248d --- /dev/null +++ b/pkgs/applications/backup/restic-integrity/default.nix @@ -0,0 +1,25 @@ +{ lib +, rustPlatform +, fetchFromGitLab +}: + +rustPlatform.buildRustPackage rec { + pname = "restic-integrity"; + version = "1.2.1"; + src = fetchFromGitLab { + domain = "gitlab.upi.li"; + owner = "networkException"; + repo = "restic-integrity"; + rev = version; + hash = "sha256-/n8muqW9ol0AY9RM3N4nqLDw0U1h0308M1uRCMS2kOM="; + }; + + cargoHash = "sha256-TYDPzjWxTK9hQhzSknkCao9lq9UjZN3yQX3wtkMmP6E="; + + meta = with lib; { + description = "A CLI tool to check the integrity of a restic repository without unlocking it"; + homepage = "https://gitlab.upi.li/networkException/restic-integrity"; + license = with licenses; [ bsd2 ]; + maintainers = with maintainers; [ janik ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 65f67d57e2c5..4dd23b89cd4f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26010,6 +26010,7 @@ with pkgs; restic = callPackage ../tools/backup/restic { }; + restic-integrity = callPackage ../applications/backup/restic-integrity { }; restic-rest-server = callPackage ../tools/backup/restic/rest-server.nix { }; restya-board = callPackage ../servers/web-apps/restya-board { };