Change:
I noticed that our package has no version. It is fetched from some weird arch repo. The official source is now: debian packages it in the package xvfb, so it's version is used in other distros like Alpine and Gentoo. We should do that too! The package has no maintainer. Feel free to grab it!
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . 3. Ask on the on .
still needed
I marked this as stale due to inactivity. &rarr;
still needed
I marked this as stale due to inactivity. &rarr;

Discussion:
<del> { lib, stdenv, fetchurl, makeWrapper, xorgserver, getopt , xauth, util-linux, which, fontsConf, gawk, coreutils }: let xvfb-run = fetchurl { name = "xvfb-run"; url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/9cb733cefa92af3fca608fb051d5251160c9bbff/trunk/xvfb-run"; sha256 = "1307mz4nr8ga3qz73i8hbcdphky75rq8lrvfk2zm4kmv6pkbk611"; }; in stdenv.mkDerivation { </del> <ins> { lib , stdenvNoCC , fetchFromGitHub , makeWrapper , xorgserver , getopt , xauth , util-linux , which , fontsConf , gawk , coreutils , installShellFiles , xterm }: stdenvNoCC.mkDerivation rec { </ins> name = "xvfb-run"; <del> nativeBuildInputs = [ makeWrapper ]; buildCommand = '' </del> <ins> version = "1+g87f6705"; src = fetchFromGitHub { owner = "archlinux"; repo = "svntogit-packages"; rev = "87f67054c49b32511893acd22be94c47ecd44b4a"; sha256 = "sha256-KEg92RYgJd7naHFDKbdXEy075bt6NLcmX8VhQROHVPs="; }; nativeBuildInputs = [ makeWrapper installShellFiles ]; dontUnpack = true; dontBuild = true; dontConfigure = true; installPhase = '' </ins> mkdir -p $out/bin <del> cp ${xvfb-run} $out/bin/xvfb-run </del> <ins> cp $src/trunk/xvfb-run $out/bin/xvfb-run installManPage $src/trunk/xvfb-run.1 </ins> chmod a+x $out/bin/xvfb-run patchShebangs $out/bin/xvfb-run

--prefix PATH : ${lib.makeBinPath [ getopt xorgserver xauth which util-linux gawk coreutils ]} ''; <ins> doInstallCheck = true; installCheckPhase = '' ( unset PATH echo "running xterm with xvfb-run" $out/bin/xvfb-run ${lib.getBin xterm}/bin/xterm -e true ) ''; passthru = { updateScript = ./update.sh; }; </ins> meta = with lib; { <ins> description = "Convenience script to run a virtualized X-Server"; </ins> platforms = platforms.linux; license = licenses.gpl2; <ins> maintainers = [ maintainers.artturin ]; </ins> }; }

<ins> #!/usr/bin/env nix-shell #!nix-shell -i bash -p curl gnused nix-prefetch jq common-updater-scripts # shellcheck shell=bash set -e info=$(nix-prefetch-git --quiet --url "https://github.com/archlinux/svntogit-packages" --rev "refs/heads/packages/xorg-server") rev=$(jq -r '.rev' <<< "$info") sha256=$(nix hash to-sri --type sha256 "$(jq -r '.sha256' <<< "$info")") dir=$(jq -r '.path' <<< "$info") newXvfbsha=$(sha256sum "$dir/trunk/xvfb-run") oldXvfbsha=$(sha256sum "$(nix build --quiet ".#xvfb-run.src" --json --no-link | jq -r '.[].outputs.out')/trunk/xvfb-run") if [[ "$newXvfbsha" != "$oldXvfbsha" ]]; then ( cd "$(git rev-parse --show-toplevel)" update-source-version xvfb-run "1+g${rev:0:7}" "$sha256" --rev="$rev" ) fi </ins>