nixpkgs/pkgs/tools/X11/virtualgl/lib.nix

30 lines
903 B
Nix
Raw Normal View History

2019-06-03 16:24:38 +00:00
{ stdenv, fetchurl, cmake, libGL, libGLU, libX11, libXv, libXtst, libjpeg_turbo, fltk }:
2016-03-03 12:55:55 +00:00
stdenv.mkDerivation rec {
name = "virtualgl-lib-${version}";
2019-06-03 16:24:38 +00:00
version = "2.6.2";
src = fetchurl {
url = "mirror://sourceforge/virtualgl/VirtualGL-${version}.tar.gz";
2019-06-03 16:24:38 +00:00
sha256 = "0ngqwsm9bml6lis0igq3bn92amh04rccd6jhjibj3418hrbzipvr";
};
cmakeFlags = [ "-DVGL_SYSTEMFLTK=1" "-DTJPEG_LIBRARY=${libjpeg_turbo.out}/lib/libturbojpeg.so" ];
makeFlags = [ "PREFIX=$(out)" ];
nativeBuildInputs = [ cmake ];
2019-06-03 16:24:38 +00:00
buildInputs = [ libjpeg_turbo libGL libGLU fltk libX11 libXv libXtst ];
2016-03-03 12:55:55 +00:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://www.virtualgl.org/;
description = "X11 GL rendering in a remote computer with full 3D hw acceleration";
2018-09-12 19:54:53 +00:00
license = licenses.wxWindows;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}