nixpkgs/pkgs/tools/graphics/glxinfo/default.nix
Eelco Dolstra 78a5abdf85 * Updated the X.org server to 1.8.2. Note that it no longer depends
on HAL but instead uses udev to autoconfigure input devices.  We'll
  have to update the NixOS X server module accordingly, I guess.  See
  https://fedoraproject.org/wiki/Input_device_configuration.
* Updated Mesa to 7.8.2.

svn path=/nixpkgs/branches/x-updates/; revision=22681
2010-07-20 19:24:21 +00:00

24 lines
467 B
Nix

{stdenv, fetchurl, x11, mesa}:
stdenv.mkDerivation {
name = "glxinfo-7.8.2";
src = fetchurl {
url = ftp://ftp.freedesktop.org/pub/mesa/7.8.2/MesaDemos-7.8.2.tar.bz2;
md5 = "757d9e2e06f48b1a52848be9b0307ced";
};
buildInputs = [x11 mesa];
buildPhase = "
cd progs/xdemos
gcc glxinfo.c -o glxinfo -lGL -lX11
gcc glxgears.c -o glxgears -lGL -lX11
";
installPhase = "
ensureDir $out/bin
cp glxinfo glxgears $out/bin
";
}