04c31a5de1
and a few nitpicks.
26 lines
703 B
Nix
26 lines
703 B
Nix
{ stdenv, fetchurl, pkgconfig, libGLU, epoxy, libX11 }:
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "virglrenderer-${version}";
|
|
version = "0.6.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.freedesktop.org/software/virgl/${name}.tar.bz2";
|
|
sha256 = "a549e351e0eb2ad1df471386ddcf85f522e7202808d1616ee9ff894209066e1a";
|
|
};
|
|
|
|
buildInputs = [ libGLU epoxy libX11 ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A virtual 3D GPU library that allows a qemu guest to use the host GPU for accelerated 3D rendering";
|
|
homepage = https://virgil3d.github.io/;
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.xeji ];
|
|
};
|
|
|
|
}
|