19 stdenv.mkDerivation rec {
20 pname = "virglrenderer";
24 url = "https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/${version}/virglrenderer-${version}.tar.bz2";
25 hash = "sha256-XGgKst7ENLKCUv0jU/HiEtTYe+7b9sHnSufj0PZVsb0=";
28 separateDebugInfo = true;
36 ] ++ lib.optionals vaapiSupport [ libva ];
46 (lib.mesonBool "video" vaapiSupport)
50 updateScript = gitUpdater {
51 url = "https://gitlab.freedesktop.org/virgl/virglrenderer.git";
52 rev-prefix = "virglrenderer-";
57 description = "Virtual 3D GPU library that allows a qemu guest to use the host GPU for accelerated 3D rendering";
58 mainProgram = "virgl_test_server";
59 homepage = "https://virgil3d.github.io/";
60 license = licenses.mit;
61 platforms = platforms.linux;
62 maintainers = [ maintainers.xeji ];