33 stdenv.mkDerivation (finalAttrs: {
37 src = fetchFromGitHub {
38 owner = "cnr-isti-vclab";
40 rev = "v${finalAttrs.version}";
41 hash = "sha256-IOlRdXoUPOJt67g3HqsLchV5aL+JUEks2y1Sy+wpwsg=";
42 fetchSubmodules = true;
74 python3Packages.pybind11
77 propagatedBuildInputs = [
82 substituteInPlace src/meshlab/src/external/libigl.cmake \
83 --replace-fail '$'{MESHLAB_EXTERNAL_DOWNLOAD_DIR}/libigl-2.4.0 ${libigl}
84 substituteInPlace src/meshlab/src/external/nexus.cmake \
85 --replace-fail '$'{NEXUS_DIR}/src/corto ${corto.src}
86 substituteInPlace src/meshlab/src/external/levmar.cmake \
87 --replace-fail '$'{LEVMAR_LINK} ${levmar.src} \
88 --replace-warn "MD5 ''${LEVMAR_MD5}" ""
89 substituteInPlace src/meshlab/src/external/ssynth.cmake \
90 --replace-fail '$'{SSYNTH_LINK} ${structuresynth.src} \
91 --replace-warn "MD5 ''${SSYNTH_MD5}" ""
95 "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}/${python3Packages.python.sitePackages}/pymeshlab"
100 description = "Open source mesh processing python library";
101 homepage = "https://github.com/cnr-isti-vclab/PyMeshLab";
102 license = lib.licenses.gpl3Only;
103 maintainers = with lib.maintainers; [ nim65s ];
104 platforms = with lib.platforms; linux;