mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
mautrix-facebook: Add version test.
This commit is contained in:
parent
fffad30005
commit
16e5522075
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user