generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
87 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
sources, | ||
lib, | ||
buildGoModule, | ||
olm, | ||
# This option enables the use of an experimental pure-Go implementation of | ||
# the Olm protocol instead of libolm for end-to-end encryption. Using goolm | ||
# is not recommended by the mautrix developers, but they are interested in | ||
# people trying it out in non-production-critical environments and reporting | ||
# any issues they run into. | ||
withGoolm ? false, | ||
}: | ||
|
||
buildGoModule rec { | ||
inherit (sources.mautrix-gmessages) pname version src; | ||
|
||
vendorHash = "sha256-8KexkPsRqzlVeYMF0dVgDMS38zQ3i+erQgsdgHDOCF0="; | ||
|
||
buildInputs = lib.optional (!withGoolm) olm; | ||
tags = lib.optional withGoolm "goolm"; | ||
|
||
doCheck = false; | ||
|
||
meta = with lib; { | ||
homepage = "https://github.com/mautrix/gmessages"; | ||
description = "Matrix-Google Messages puppeting bridge"; | ||
license = licenses.agpl3Plus; | ||
maintainers = with maintainers; [ xddxdd ]; | ||
mainProgram = "mautrix-gmessages"; | ||
}; | ||
} |