Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
900 B · 68 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, python, fetchFromGitHub, scikit-build-core, manifold, cmake, ninja, nanobind, pkg-config, numpy, clipper2, tbb, pytestCheckHook, trimesh,}:
buildPythonPackage rec { pname = "manifold3d"; inherit (manifold) version src; pyproject = true;
dontUseCmakeConfigure = true;
build-system = [ scikit-build-core cmake ninja nanobind pkg-config ];
dependencies = [ numpy ];
buildInputs = [ tbb clipper2 ];
nativeCheckInputs = [ pytestCheckHook trimesh ];
preCheck = '' ${python.interpreter} bindings/python/examples/run_all.py '';
pythonImportsCheck = [ "manifold3d" ];
meta = { inherit (manifold.meta) homepage changelog description license ; maintainers = with lib.maintainers; [ pbsds pca006132 ]; };}