7 # This option enables the use of an experimental pure-Go implementation of the
8 # Olm protocol instead of libolm for end-to-end encryption. Using goolm is not
9 # recommended by the mautrix developers, but they are interested in people
10 # trying it out in non-production-critical environments and reporting any
11 # issues they run into.
16 pname = "mautrix-meta";
19 subPackages = [ "cmd/mautrix-meta" ];
21 src = fetchFromGitHub {
25 hash = "sha256-KJuLBJy/g4ShcylkqIG4OuUalwboUSErSif3p7x4Zo4=";
28 buildInputs = lib.optional (!withGoolm) olm;
29 tags = lib.optional withGoolm "goolm";
31 vendorHash = "sha256-ErY40xIDhhOHQI/jYa8DcnfjOI998neIMgb/IQNP/JQ=";
41 updateScript = nix-update-script { };
46 homepage = "https://github.com/mautrix/meta";
47 description = "Matrix <-> Facebook and Matrix <-> Instagram hybrid puppeting/relaybot bridge";
48 license = lib.licenses.agpl3Plus;
49 maintainers = with lib.maintainers; [ eyjhb ];
50 mainProgram = "mautrix-meta";