3
0
Fork 0
forked from mirrors/nixpkgs

xdg-desktop-portal: add test to passthru

This commit is contained in:
worldofpeace 2019-11-07 08:38:54 -05:00
parent 7529fd15d5
commit 1891b0030d

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, substituteAll, autoreconfHook, pkgconfig, libxml2, glib, pipewire, fontconfig, flatpak, gsettings-desktop-schemas, acl, dbus, fuse, geoclue2, json-glib, wrapGAppsHook }:
{ stdenv, fetchFromGitHub, nixosTests, substituteAll, autoreconfHook, pkgconfig, libxml2, glib, pipewire, fontconfig, flatpak, gsettings-desktop-schemas, acl, dbus, fuse, geoclue2, json-glib, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "xdg-desktop-portal";
@ -35,6 +35,12 @@ stdenv.mkDerivation rec {
"installed_test_metadir=$(installedTests)/share/installed-tests/xdg-desktop-portal"
];
passthru = {
tests = {
installedTests = nixosTests.installed-tests.xdg-desktop-portal;
};
};
meta = with stdenv.lib; {
description = "Desktop integration portals for sandboxed apps";
license = licenses.lgpl21;