signal-desktop: Add passthru.tests

This commit is contained in:
Michael Weiss 2020-04-28 13:59:05 +02:00
parent 660d284137
commit facfa00202
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, autoPatchelfHook, dpkg, wrapGAppsHook
{ stdenv, lib, fetchurl, autoPatchelfHook, dpkg, wrapGAppsHook, nixosTests
, gnome2, gtk3, atk, at-spi2-atk, cairo, pango, gdk-pixbuf, glib, freetype, fontconfig
, dbus, libX11, xorg, libXi, libXcursor, libXdamage, libXrandr, libXcomposite
, libXext, libXfixes, libXrender, libXtst, libXScrnSaver, nss, nspr, alsaLib
@ -121,6 +121,9 @@ in stdenv.mkDerivation rec {
autoPatchelf --no-recurse -- $out/lib/Signal/
'';
# Tests if the application launches and waits for "Link your phone to Signal Desktop":
passthru.tests.application-launch = nixosTests.signal-desktop;
meta = {
description = "Private, simple, and secure messenger";
longDescription = ''