16 stdenvNoCC.mkDerivation rec {
18 version = "1+g87f6705";
20 src = fetchFromGitHub {
22 repo = "svntogit-packages";
23 rev = "87f67054c49b32511893acd22be94c47ecd44b4a";
24 sha256 = "sha256-KEg92RYgJd7naHFDKbdXEy075bt6NLcmX8VhQROHVPs=";
27 nativeBuildInputs = [ makeWrapper installShellFiles ];
35 cp $src/trunk/xvfb-run $out/bin/xvfb-run
36 installManPage $src/trunk/xvfb-run.1
38 chmod a+x $out/bin/xvfb-run
39 patchShebangs $out/bin/xvfb-run
40 wrapProgram $out/bin/xvfb-run \
41 --set-default FONTCONFIG_FILE "${fontsConf}" \
42 --prefix PATH : ${lib.makeBinPath [ getopt xorg.xvfb xauth which util-linux gawk coreutils ]}
45 doInstallCheck = true;
46 installCheckPhase = ''
49 echo "running xterm with xvfb-run"
50 $out/bin/xvfb-run ${lib.getBin xterm}/bin/xterm -e true
55 updateScript = ./update.sh;
59 description = "Convenience script to run a virtualized X-Server";
60 platforms = platforms.linux;
61 license = licenses.gpl2Only;
62 maintainers = [ maintainers.artturin ];
63 mainProgram = "xvfb-run";