require go 1.18 for mautrix-whatsapp

This commit is contained in:
Charlotte 🦝 Delenk 2022-10-09 17:03:42 +01:00
parent e81962a903
commit 729343a933
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -4,6 +4,7 @@
fetchFromGitHub,
lib,
writeScript,
go
}: let
source = builtins.fromJSON (builtins.readFile ./source.json);
in
@ -24,6 +25,7 @@ in
meta = {
description = "Whatsapp-Matrix double-puppeting bridge";
license = lib.licenses.agpl3;
broken = builtins.compareVersions go.version "1.18";
};
passthru.updateScript = writeScript "update-mautrix-whatsapp" ''
${../../scripts/update-git.sh} "https://github.com/mautrix/whatsapp" matrix/mautrix-whatsapp/source.json