24 stdenv.mkDerivation rec {
29 url = "https://archive.mesa3d.org/demos/${pname}-${version}.tar.xz";
30 sha256 = "sha256-MEaj0mp7BRr3690lel8jv+sWDK1u2VIynN/x6fHtSWs=";
60 "-Degl=${if stdenv.hostPlatform.isDarwin then "disabled" else "auto"}"
61 (lib.mesonEnable "libdrm" (stdenv.hostPlatform.isLinux))
62 (lib.mesonEnable "osmesa" false)
63 (lib.mesonEnable "wayland" (lib.meta.availableOn stdenv.hostPlatform wayland))
67 inherit (mesa.meta) homepage platforms;
68 description = "Collection of demos and test programs for OpenGL and Mesa";
69 license = licenses.mit;
70 maintainers = with maintainers; [ andersk ];