herbstluftwm: add NixOS test

This commit is contained in:
Thibaut Marty
2021-01-18 16:12:52 +00:00
parent b1eb0af283
commit a6cdb113bd
3 changed files with 45 additions and 1 deletions
@@ -1,5 +1,6 @@
{ lib, stdenv, fetchurl, cmake, pkgconfig, python3, libX11, libXext, libXinerama, libXrandr, asciidoc
, xdotool, xorgserver, xsetroot, xterm, runtimeShell }:
, xdotool, xorgserver, xsetroot, xterm, runtimeShell
, nixosTests }:
# Doc generation is disabled by default when cross compiling because asciidoc
# dependency is broken when cross compiling for now
@@ -75,6 +76,10 @@ in stdenv.mkDerivation rec {
pytestFlagsArray = [ "../tests" ];
passthru = {
tests.herbstluftwm = nixosTests.herbstluftwm;
};
meta = with lib; {
description = "A manual tiling window manager for X";
homepage = "https://herbstluftwm.org/";