Unverified Commit fe08782f authored by Kenichi Kamiya's avatar Kenichi Kamiya
Browse files

lichess-bot: add versionCheckHook

parent c7da145d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  python3Packages,
  fetchFromGitHub,
  versionCheckHook,
}:

python3Packages.buildPythonApplication {
@@ -43,6 +44,12 @@ python3Packages.buildPythonApplication {
    runHook postInstall
  '';

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  versionCheckProgramArg = "--disable_auto_logging";
  doInstallCheck = true;

  meta = {
    description = "Bridge between lichess.org and bots";
    homepage = "https://github.com/lichess-bot-devs/lichess-bot";