forked from mirrors/nixpkgs
xdg-desktop-portal: add test to passthru
This commit is contained in:
parent
7529fd15d5
commit
1891b0030d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue