Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
778 B
Nix
35 lines
778 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
eigen,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vcg";
|
|
version = "2025.07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cnr-isti-vclab";
|
|
repo = "vcglib";
|
|
rev = version;
|
|
sha256 = "sha256-OZnqFnHGXC9fS7JCLTiHNCeA//JBAZGLB5SP/rGzaA8=";
|
|
};
|
|
|
|
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 lib; {
|
|
homepage = "https://vcg.isti.cnr.it/vcglib/install.html";
|
|
description = "C++ library for manipulation, processing and displaying with OpenGL of triangle and tetrahedral meshes";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
maintainers = [ ];
|
|
};
|
|
}
|