budgie-screensaver: add version test

This commit is contained in:
seth 2024-07-12 19:14:57 -04:00
parent 9af16f0c40
commit 32a4814585
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -15,6 +15,7 @@
nix-update-script,
pkg-config,
systemd,
testers,
wrapGAppsHook3,
xorg,
}:
@ -58,6 +59,11 @@ stdenv.mkDerivation (finalAttrs: {
env.NIX_CFLAGS_COMPILE = "-D_POSIX_C_SOURCE";
passthru = {
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "budgie-screensaver-command --version";
};
updateScript = nix-update-script { };
};