swayfx-unwrapped: add version test
This commit is contained in:
parent
32615dea49
commit
3596b1834e
@ -26,6 +26,7 @@
|
||||
wayland-scanner,
|
||||
xcbutilwm,
|
||||
wlroots,
|
||||
testers,
|
||||
# Used by the NixOS module:
|
||||
isNixOS ? false,
|
||||
enableXWayland ? true,
|
||||
@ -118,6 +119,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(mesonEnable "tray" finalAttrs.trayEnabled)
|
||||
];
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
command = "sway --version";
|
||||
version = "swayfx version ${finalAttrs.version}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Sway, but with eye candy!";
|
||||
homepage = "https://github.com/WillPower3309/swayfx";
|
||||
|
Loading…
Reference in New Issue
Block a user