Commit c0fd4982 authored by Robert Schütz's avatar Robert Schütz
Browse files

calendar-cli: run versionCheckHook

parent dd650536
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  nixosTests,
  perl,
  radicale,
  versionCheckHook,
  which,
  xandikos,
}:
@@ -51,18 +52,21 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
  nativeCheckInputs = [
    perl
    (python3.pkgs.toPythonModule (radicale.override { inherit python3; }))
    versionCheckHook
    which
    xandikos
  ];

  checkPhase = ''
    runHook preCheck
    runHook preInstallCheck

    pushd tests
    ./test_calendar-cli.sh
    popd

    runHook postCheck
    runHook postInstallCheck
  '';

  passthru.tests = {