depot/third_party/nixpkgs/pkgs/applications/backup/restic-integrity/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
728 B
Nix

{ lib
, rustPlatform
, fetchFromGitea
}:
rustPlatform.buildRustPackage rec {
pname = "restic-integrity";
version = "1.2.2";
src = fetchFromGitea {
domain = "git.nwex.de";
owner = "networkException";
repo = "restic-integrity";
rev = version;
hash = "sha256-QiISJCxxJH8wQeH/klB48POn6W9juQmIMCLGzGSyl6w=";
};
cargoHash = "sha256-GxehJjDd0AHbEc8kPWyLXAOPbrPCT59LddAL1ydnT5g=";
meta = with lib; {
description = "CLI tool to check the integrity of a restic repository without unlocking it";
homepage = "https://git.nwex.de/networkException/restic-integrity";
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ janik ];
mainProgram = "restic-integrity";
};
}