Unverified Commit 876ea13c authored by Janik's avatar Janik Committed by GitHub
Browse files

Merge pull request #320863 from networkException/restic-integrity

restic-integrity: update to new git forge, 1.2.1 -> 1.2.2
parents b3ba4936 e8e57d10
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitLab
, fetchFromGitea
}:

rustPlatform.buildRustPackage rec {
  pname = "restic-integrity";
  version = "1.2.1";
  src = fetchFromGitLab {
    domain = "gitlab.upi.li";
  version = "1.2.2";

  src = fetchFromGitea {
    domain = "git.nwex.de";
    owner = "networkException";
    repo = "restic-integrity";
    rev = version;
    hash = "sha256-/n8muqW9ol0AY9RM3N4nqLDw0U1h0308M1uRCMS2kOM=";
    hash = "sha256-QiISJCxxJH8wQeH/klB48POn6W9juQmIMCLGzGSyl6w=";
  };

  cargoHash = "sha256-TYDPzjWxTK9hQhzSknkCao9lq9UjZN3yQX3wtkMmP6E=";
  cargoHash = "sha256-GxehJjDd0AHbEc8kPWyLXAOPbrPCT59LddAL1ydnT5g=";

  meta = with lib; {
    description = "CLI tool to check the integrity of a restic repository without unlocking it";
    homepage = "https://gitlab.upi.li/networkException/restic-integrity";
    homepage = "https://git.nwex.de/networkException/restic-integrity";
    license = with licenses; [ bsd2 ];
    maintainers = with maintainers; [ janik ];
    mainProgram = "restic-integrity";