1 { lib, stdenv, fetchurl, cmake, meson, ninja, pkg-config, python3
2 , libGLU, libepoxy, libX11, libdrm, mesa
5 stdenv.mkDerivation rec {
6 pname = "virglrenderer";
10 url = "https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/virglrenderer-${version}/virglrenderer-virglrenderer-${version}.tar.bz2";
11 sha256 = "uKHxPhKAMwg3E1GeTJNryd8K/nYQnx8r1eB3uME6LUQ=";
14 buildInputs = [ libGLU libepoxy libX11 libdrm mesa ];
16 nativeBuildInputs = [ cmake meson ninja pkg-config python3 ];
18 dontUseCmakeConfigure = true;
21 description = "A virtual 3D GPU library that allows a qemu guest to use the host GPU for accelerated 3D rendering";
22 homepage = "https://virgil3d.github.io/";
23 license = licenses.mit;
24 platforms = platforms.linux;
25 maintainers = [ maintainers.xeji ];