nixpkgs/pkgs/development/libraries/mesa/default.nix
Eelco Dolstra f189022d13 * Updated mesa to 7.6.1.
* Removed mesa-headers as it's not used anymore.

svn path=/nixpkgs/trunk/; revision=19389
2010-01-13 12:43:17 +00:00

30 lines
806 B
Nix

{ stdenv, fetchurl, pkgconfig, x11, xlibs, libdrm, expat }:
if stdenv.system != "i686-linux" && stdenv.system != "x86_64-linux" && stdenv.system != "i686-darwin" && stdenv.system != "i686-freebsd" then
throw "unsupported platform for Mesa"
else
stdenv.mkDerivation {
name = "mesa-7.6.1";
src = fetchurl {
url = ftp://ftp.freedesktop.org/pub/mesa/7.6.1/MesaLib-7.6.1.tar.bz2;
md5 = "7db4617e9e10ad3aca1b64339fd71b7d";
};
configureFlags = "--disable-gallium";
buildInputs =
[ pkgconfig expat x11 libdrm xlibs.glproto
xlibs.libXxf86vm xlibs.libXfixes xlibs.libXdamage xlibs.dri2proto
];
passthru = { inherit libdrm; };
meta = {
description = "An open source implementation of OpenGL";
homepage = http://www.mesa3d.org/;
license = "bsd";
};
}