mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 09:03:42 +00:00
python312Packages.manifold3d: 2.5.1 -> 3.0.0
changelog: https://github.com/elalish/manifold/releases/tag/v3.0.0
This commit is contained in:
parent
db65b080f0
commit
b5849962df
@ -11,34 +11,20 @@
|
||||
numpy,
|
||||
clipper2,
|
||||
tbb,
|
||||
glm,
|
||||
pytestCheckHook,
|
||||
trimesh,
|
||||
}:
|
||||
|
||||
let
|
||||
# archived library, but manifold3d has removed this on master
|
||||
thrust-src = fetchFromGitHub {
|
||||
owner = "NVIDIA";
|
||||
repo = "thrust";
|
||||
rev = "refs/tags/2.1.0";
|
||||
hash = "sha256-U9WgRZva7R/bNOF5VZTvIwIQDQDD3/bRO08j2TPLl9Q=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "manifold3d";
|
||||
version = "2.5.1";
|
||||
version = "3.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elalish";
|
||||
repo = "manifold";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-0zjS4ygt85isP1jyiTCeD/umhQ8ffIN+u2CeLeybX9U=";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-02bZAPA4mnWzS9NYVcSW0JE7BidrwzNKBO2nl7BxiiE=";
|
||||
};
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
@ -56,13 +42,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glm
|
||||
tbb
|
||||
clipper2
|
||||
];
|
||||
|
||||
env.SKBUILD_CMAKE_DEFINE = "FETCHCONTENT_SOURCE_DIR_THRUST=${thrust-src}";
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
trimesh
|
||||
|
Loading…
Reference in New Issue
Block a user