Unverified Commit e08c51dd authored by Jonathan Davies's avatar Jonathan Davies
Browse files

go-sendxmpp: Add versionCheckHook

parent e424b9c0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  lib,
  nix-update-script,
  testers,
  versionCheckHook,
}:

buildGoModule (finalAttrs: {
@@ -27,6 +28,12 @@ buildGoModule (finalAttrs: {
    updateScript = nix-update-script { };
  };

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

  meta = {
    description = "Tool to send messages or files to an XMPP contact or MUC";
    homepage = "https://salsa.debian.org/mdosch/go-sendxmpp";