about summary refs log tree commit diff
path: root/pkgs/applications/backup/restic-integrity/default.nix
blob: 9065f7f486c0f06db5657c17bd2cca29792c1aea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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 ];
    mainProgram = "restic-integrity";
  };
}