[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#78171] [PATCH] gnu: Add manifold
From: |
Nicolas Graves |
Subject: |
[bug#78171] [PATCH] gnu: Add manifold |
Date: |
Mon, 05 May 2025 13:13:56 +0200 |
On 2025-05-01 04:56, nomike@nomike.com wrote:
> * gnu/packages/engineering.scm (manifold): New variable
>
> Change-Id: I13c0e5369923e5e972ee2a8b95ae892fadfd4154
> ---
> v2 as I initially forgot to remove the "v" prefix from the version number.
>
> gnu/packages/engineering.scm | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index f472d1127f..3d8e6780dd 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -2917,6 +2917,38 @@ (define-public lib3mf
> (home-page "https://3mf.io/")
> (license license:bsd-2)))
>
> +(define-public manifold
> + (package
> + (name "manifold")
> + (version "3.0.1")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/elalish/manifold")
> + (commit (string-append "v" version))))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32 "1f0k8937gk7b9100k99pmz1f17nzczpdk7797p2aijla0z29ddy1"))))
> + (build-system cmake-build-system)
> + (native-inputs (list))
If you don't need native-inputs, you can drop the field instead.
> + (inputs (list tbb clipper2 assimp python-nanobind googletest))
> + (arguments
> + `(#:configure-flags '("-DMANIFOLD_JSBIND=OFF"))) ; can be removed when
> emscripten is packaged
> + (synopsis "Geometry library for topological robustness")
> + (description
> + "Manifold is a geometry library dedicated to creating and operating
> + on manifold triangle meshes. A manifold mesh is a mesh that represents
> + a solid object, and so is very important in manufacturing, CAD,
> + structural analysis, etc.. Manifold also supports arbitrary vertex
> + properties and enables mapping of materials for rendering use-cases.
> + Our primary goal is reliability: guaranteed manifold output without
> + caveats or edge cases. Our secondary goal is performance: efficient
^ You forgot a space here.
> + algorithms that make extensive use of parallelization, or pipelining
> + when only a single thread is available.")
> + (home-page "https://github.com/elalish/manifold")
> + (license license:asl2.0)))
> +
> (define-public python-keithley2600
> (package
> (name "python-keithley2600")
--
Best regards,
Nicolas Graves
- [bug#78171] [PATCH] gnu: Add manifold,
Nicolas Graves <=