mkups 0.1.0

Toolkit for creating, applying, and inspecting .ups patches
Documentation
{ lib
, rustPlatform
}:

rustPlatform.buildRustPackage {
  pname = "mkups";
  version = "0.1.0";

  src = ./.;

  cargoLock.lockFile = ./Cargo.lock;

  doInstallCheck = true;
  installCheckPhase = ''
    runHook preInstallCheck
    ./contrib/test $out/bin/mkups
    runHook postInstallCheck
  '';

  meta = with lib; {
    description = "Toolkit for creating, applying, and inspecting .ups patches";
    homepage = "https://sr.ht/~raphi/mkups";
    license = licenses.mit;
    maintainers = with maintainers; [ raphaelr ];
  };
}