mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
mautrix-signal: add version test
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
9e15728241
commit
218ad1bf6a
@ -6,6 +6,7 @@
|
||||
fetchpatch,
|
||||
olm,
|
||||
libsignal-ffi,
|
||||
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
|
||||
# is not recommended by the mautrix developers, but they are interested in
|
||||
@ -63,6 +64,10 @@ buildGoModule rec {
|
||||
unset LD_LIBRARY_PATH
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = [ "--version" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mautrix/signal";
|
||||
description = "Matrix-Signal puppeting bridge";
|
||||
|
Loading…
Reference in New Issue
Block a user