glv pushed a commit to branch master
in repository guix.

commit e11ab2a6e9628af6c37d4ae5e0faabde79bcea34
Author: Vincent Legoll <vincent.leg...@gmail.com>
AuthorDate: Mon Nov 25 23:00:13 2024 +0100

    gnu: Add ondsel-solver.
    
    * gnu/packages/engineering.scm (ondsel-solver): New variable.
    
    Change-Id: Ie966b13d1ec5351ef8b9f2459780f3da47f96db8
    Signed-off-by: Guillaume Le Vaillant <g...@posteo.net>
---
 gnu/packages/engineering.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 3ceeb4425a..699b14dd90 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -15,7 +15,7 @@
 ;;; Copyright © 2019 Steve Sprang <s...@stevesprang.com>
 ;;; Copyright © 2019 John Soo <js...@asu.edu>
 ;;; Copyright © 2020 Brice Waegeneire <br...@waegenei.re>
-;;; Copyright © 2020,2021 Vincent Legoll <vincent.leg...@gmail.com>
+;;; Copyright © 2020,2021,2024 Vincent Legoll <vincent.leg...@gmail.com>
 ;;; Copyright © 2020, 2023 Marius Bakke <mar...@gnu.org>
 ;;; Copyright © 2020, 2021 Ekaitz Zarraga <eka...@elenq.tech>
 ;;; Copyright © 2020 B. Wilson <elaexuo...@wilsonb.com>
@@ -2930,6 +2930,33 @@ full programmatic control over your models.")
 OpenSCAD code.  It supports syntax highlighting, indenting and refilling of
 comments.")))
 
+(define-public ondsel-solver
+  (let ((commit "2e3659c4bce3e6885269e0cb3d640261b2a91108")
+        (revision "1"))
+    (package
+      (name "ondsel-solver")
+      ;; There's no tagged release
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Ondsel-Development/OndselSolver";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1bgk3asyz47r1kvdgcz8q7sh1g29przdsx9ib1jqqbc0nv8ww68v"))))
+      (build-system cmake-build-system)
+      (arguments
+       `(#:tests? #f)) ;; Tests require Google's gtest and gmock
+      ;; The company is shutting down, so https://ondsel.com may not exist for 
long
+      (home-page "https://github.com/Ondsel-Development/OndselSolver";)
+      (synopsis "Assembly Constraints and Multibody Dynamics code")
+      (description
+       "The OndselSolver library for assembly constraints and multibody
+dynamics is used by FreeCAD 1.0.0 for its new Assembly workbench.")
+      (license license:lgpl2.1+))))
+
 (define-public freecad
   (package
     (name "freecad")

Reply via email to