11 pname = "mautrix-discord";
14 src = fetchFromGitHub {
18 hash = "sha256-N6CepP+P63TIKKi6FQLJEuV5hFtiv1CcBM+1Y/QPZrI=";
21 vendorHash = "sha256-QdH98NA5Y9YKkvL8Gq8ChgvHFOyOBFXDDulxwql6v5c=";
23 ldflags = [ "-s" "-w" ];
25 buildInputs = [ olm ];
31 updateScript = nix-update-script { };
32 tests.version = testers.testVersion {
33 package = mautrix-discord;
38 description = "Matrix-Discord puppeting bridge";
39 homepage = "https://github.com/mautrix/discord";
40 changelog = "https://github.com/mautrix/discord/blob/${src.rev}/CHANGELOG.md";
41 license = licenses.agpl3Only;
42 maintainers = with maintainers; [ MoritzBoehme ];
43 mainProgram = "mautrix-discord";