summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2021-03-15 10:45:18 +0100
committerSebastian Graf <sebastian.graf@kit.edu>2021-03-18 19:58:05 +0100
commit532ba32490aab7d72c7d6f517297e18335423d84 (patch)
tree2a062c2015ff4003b8d6042d07938a196c1c78b3 /pkgs
parenta8fe53907d0e90d1b9196dfade1c18c0e5da7635 (diff)
downloadnixpkgs-532ba32490aab7d72c7d6f517297e18335423d84.tar
nixpkgs-532ba32490aab7d72c7d6f517297e18335423d84.tar.gz
nixpkgs-532ba32490aab7d72c7d6f517297e18335423d84.tar.bz2
nixpkgs-532ba32490aab7d72c7d6f517297e18335423d84.tar.lz
nixpkgs-532ba32490aab7d72c7d6f517297e18335423d84.tar.xz
nixpkgs-532ba32490aab7d72c7d6f517297e18335423d84.tar.zst
nixpkgs-532ba32490aab7d72c7d6f517297e18335423d84.zip
alttab: Enable doCheck
Consequently I had to add a few dependencies for the testsuite.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/X11/alttab/default.nix16
1 files changed, 14 insertions, 2 deletions
diff --git a/pkgs/tools/X11/alttab/default.nix b/pkgs/tools/X11/alttab/default.nix
index ecafd25bf7d..591edff2add 100644
--- a/pkgs/tools/X11/alttab/default.nix
+++ b/pkgs/tools/X11/alttab/default.nix
@@ -1,5 +1,5 @@
-{ lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config, ronn, libpng, uthash
-, xorg }:
+{ lib, stdenv, coreutils, fetchFromGitHub, autoconf, automake, pkg-config, procps, ronn,
+libpng, uthash , which, xnee, xorg, python3Packages }:
 
 stdenv.mkDerivation rec {
   version = "1.6.0";
@@ -35,6 +35,18 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
+  doCheck = true;
+
+  checkInputs = [
+    coreutils
+    procps
+    python3Packages.xvfbwrapper
+    which
+    xnee
+    xorg.xeyes
+    xorg.xprop
+  ];
+
   meta = with lib; {
     homepage = "https://github.com/sagb/alttab";
     description = "X11 window switcher designed for minimalistic window managers or standalone X11 session";