nixpkgs/pkgs/development/libraries/vcg/default.nix

28 lines
778 B
Nix
Raw Normal View History

2016-02-17 12:53:15 +00:00
{ stdenv, fetchsvn, eigen }:
stdenv.mkDerivation rec {
name = "vcg-2016-02-14";
src = fetchsvn {
url = "svn://svn.code.sf.net/p/vcg/code/trunk/vcglib";
rev = 5688;
sha256 = "0hkvz2d8prrjdcc7h0xhfd9hq86lmqg17ml045x4bkiciimx0w5s";
};
propagatedBuildInputs = [ eigen ];
installPhase = ''
mkdir -p $out/include
cp -r vcg wrap $out/include
find $out -name \*.h -exec sed -i 's,<eigenlib/,<eigen3/,g' {} \;
'';
meta = with stdenv.lib; {
2016-11-23 14:49:18 +00:00
homepage = "http://vcg.isti.cnr.it/vcglib/install.html";
2016-02-17 12:53:15 +00:00
description = "C++ library for manipulation, processing and displaying with OpenGL of triangle and tetrahedral meshes";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}