mautrix-facebook: Add version test.

This commit is contained in:
Kevin Cox 2022-01-09 19:14:02 -05:00
parent fffad30005
commit 16e5522075
No known key found for this signature in database
GPG key ID: 9BB92CC1552E99AA

View file

@ -38,8 +38,6 @@ python3.pkgs.buildPythonPackage rec {
sed -i -e 's/,<.*//' requirements.txt
'';
doCheck = false;
postInstall = ''
mkdir -p $out/bin
@ -50,6 +48,10 @@ python3.pkgs.buildPythonPackage rec {
chmod +x $out/bin/mautrix-facebook
'';
checkPhase = ''
$out/bin/mautrix-facebook --help
'';
meta = with lib; {
homepage = "https://github.com/mautrix/facebook";
description = "A Matrix-Facebook Messenger puppeting bridge";