1 { lib, stdenv, fetchFromGitHub, eigen }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "cnr-isti-vclab";
11 sha256 = "0jh8jc8rn7rci8qr3q03q574fk2hsc3rllysck41j8xkr3rmxz2f";
14 propagatedBuildInputs = [ eigen ];
18 cp -r vcg wrap $out/include
19 find $out -name \*.h -exec sed -i 's,<eigenlib/,<eigen3/,g' {} \;
23 homepage = "http://vcg.isti.cnr.it/vcglib/install.html";
24 description = "C++ library for manipulation, processing and displaying with OpenGL of triangle and tetrahedral meshes";
25 license = licenses.gpl3;
26 platforms = platforms.all;
27 maintainers = with maintainers; [ abbradar ];