mautrix-signal: 0.8.7 -> 25.10
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
fetchFromGitHub,
|
||||
olm,
|
||||
libsignal-ffi,
|
||||
zlib,
|
||||
versionCheckHook,
|
||||
# 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
|
||||
@@ -19,13 +20,14 @@ let
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "mautrix-signal";
|
||||
version = "0.8.7";
|
||||
version = "25.10";
|
||||
tag = "v0.2510.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mautrix";
|
||||
repo = "signal";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-dzE6CncAja/6GoeYFuCcxRfd60ybNnCL9HzdMXyfh0k=";
|
||||
tag = tag;
|
||||
hash = "sha256-Bz4jBI/lLhCxZW7JmaX6dlVwbB3dLXn5v/8gMKcFKSE=";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
@@ -35,13 +37,19 @@ buildGoModule rec {
|
||||
# must match the version used in https://github.com/mautrix/signal/tree/main/pkg/libsignalgo
|
||||
# see https://github.com/mautrix/signal/issues/401
|
||||
libsignal-ffi
|
||||
zlib
|
||||
];
|
||||
|
||||
tags = lib.optional withGoolm "goolm";
|
||||
|
||||
CGO_LDFLAGS = lib.optional withGoolm [ cppStdLib ];
|
||||
|
||||
vendorHash = "sha256-BYTAXhm7hjNa2DN/dcd77zOiDUGb7FC6y3I8FxwQvMI=";
|
||||
vendorHash = "sha256-Sur29i5ih7xK85maVAaq9cwWJVGtwS7hPOxQI4YduNI=";
|
||||
|
||||
ldflags = [
|
||||
"-X"
|
||||
"main.Tag=${tag}"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
preCheck = ''
|
||||
|
||||
Reference in New Issue
Block a user