blob: 12e751e0f08753c3e84481fb2356f85cbc4717ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ stdenv, fetchurl, freeglut, glew, libGL, libGLU, libX11, libXext, mesa, pkg-config, wayland }:
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 ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
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 ];
};
}
|