2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, freeglut, glew, libGL, libGLU, libX11, libXext, mesa, pkg-config, wayland }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mesa-demos";
|
|
|
|
version = "8.4.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.freedesktop.org/pub/mesa/demos/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "0zgzbz55a14hz83gbmm0n9gpjnf5zadzi2kjjvkn6khql2a9rs81";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ freeglut glew libX11 libXext libGL libGLU mesa mesa.osmesa wayland ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
configureFlags = [ "--with-system-data-files" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Collection of demos and test programs for OpenGL and Mesa";
|
|
|
|
homepage = "https://www.mesa3d.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ andersk ];
|
|
|
|
};
|
|
|
|
}
|