20 # archived library, but manifold3d has removed this on master
21 thrust-src = fetchFromGitHub {
24 rev = "refs/tags/2.1.0";
25 hash = "sha256-U9WgRZva7R/bNOF5VZTvIwIQDQDD3/bRO08j2TPLl9Q=";
26 fetchSubmodules = true;
31 buildPythonPackage rec {
36 src = fetchFromGitHub {
39 rev = "refs/tags/v${version}";
40 hash = "sha256-0zjS4ygt85isP1jyiTCeD/umhQ8ffIN+u2CeLeybX9U=";
41 fetchSubmodules = true;
44 dontUseCmakeConfigure = true;
64 env.SKBUILD_CMAKE_DEFINE = "FETCHCONTENT_SOURCE_DIR_THRUST=${thrust-src}";
72 ${python.interpreter} bindings/python/examples/run_all.py
75 pythonImportsCheck = [
80 description = "Geometry library for topological robustness";
81 homepage = "https://github.com/elalish/manifold";
82 changelog = "https://github.com/elalish/manifold/releases/tag/v${version}";
83 license = lib.licenses.asl20;
84 maintainers = with lib.maintainers; [ pbsds ];