1 { lib, stdenv, fetchurl, makeWrapper, xorgserver, getopt
2 , xauth, util-linux, which, fontsConf, gawk, coreutils }:
6 # https://git.archlinux.org/svntogit/packages.git/?h=packages/xorg-server
7 url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/xvfb-run?h=packages/xorg-server&id=9cb733cefa92af3fca608fb051d5251160c9bbff";
8 sha256 = "1307mz4nr8ga3qz73i8hbcdphky75rq8lrvfk2zm4kmv6pkbk611";
13 nativeBuildInputs = [ makeWrapper ];
16 cp ${xvfb_run} $out/bin/xvfb-run
18 chmod a+x $out/bin/xvfb-run
19 patchShebangs $out/bin/xvfb-run
20 wrapProgram $out/bin/xvfb-run \
21 --set FONTCONFIG_FILE "${fontsConf}" \
22 --prefix PATH : ${lib.makeBinPath [ getopt xorgserver xauth which util-linux gawk coreutils ]}
26 platforms = platforms.unix;
27 license = licenses.gpl2;