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