6 # This option enables the use of an experimental pure-Go implementation of
7 # the Olm protocol instead of libolm for end-to-end encryption. Using goolm
8 # is not recommended by the mautrix developers, but they are interested in
9 # people trying it out in non-production-critical environments and reporting
10 # any issues they run into.
15 pname = "mautrix-whatsapp";
18 src = fetchFromGitHub {
22 hash = "sha256-D9ed2/3ymUmZotnD8AZngPGQtzr8+R7xfbcdQLb3EKU=";
25 buildInputs = lib.optional (!withGoolm) olm;
26 tags = lib.optional withGoolm "goolm";
28 vendorHash = "sha256-qd8dGJe3h6JG6B9pZbJXHk3NwYddfHXzprSH20jn9Bk=";
33 homepage = "https://github.com/tulir/mautrix-whatsapp";
34 description = "Matrix <-> Whatsapp hybrid puppeting/relaybot bridge";
35 license = licenses.agpl3Plus;
36 maintainers = with maintainers; [ vskilet ma27 chvp ];
37 mainProgram = "mautrix-whatsapp";