about summary refs log tree commit diff
path: root/pkgs/applications/backup/restic-integrity/default.nix
blob: d0311e5d40d0a01c8ba4c7d6f44d0bd346fc3c98 (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
27
{ 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";
  };
}