anchor.diff:      libXrandr
       libXft
       libXrender
  +    libXdmcp
  +    libXfixes
       freetype
     ];
   
  
positive.code: { lib, stdenv, fetchurl, cmake, pkg-config, python3, libX11, libXext, libXinerama, libXrandr, libXft, libXrender, freetype, asciidoc
  , xdotool, xorgserver, xsetroot, xterm, runtimeShell
  , nixosTests }:
  
  stdenv.mkDerivation rec {
    pname = "herbstluftwm";
    version = "0.9.3";
  
    src = fetchurl {
      url = "https://herbstluftwm.org/tarballs/herbstluftwm-${version}.tar.gz";
      sha256 = "01f1bv9axjhw1l2gwhdwahljssj0h8q7a1bqwbpnwvln0ayv39qb";
    };
  
    outputs = [
  
negative.code: 
    pytestFlagsArray = [ "../tests" ];
    disabledTests = [
      "test_title_different_letters_are_drawn" # font problems
      "test_completable_commands" # font problems
      "test_autostart" # $PATH problems
      "test_wmexec_to_other" # timeouts in sandbox
    ];
  
    passthru = {
  