guix_mirror_bot pushed a commit to branch kernel-updates
in repository guix.

commit 63c736b0f96b8b98789dd55b785ead2c2fbdd7e8
Author: David Elsing <[email protected]>
AuthorDate: Tue Jun 3 22:56:54 2025 +0200

    gnu: Add libtaylor.
    
    * gnu/packages/maths.scm (libtaylor): New variable.
    
    Change-Id: If067b8abe1bac61660d99881aa07bed34c53b2a1
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/maths.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index dbfe662ba5..bb57dfbcbf 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -9922,6 +9922,38 @@ diagrams.")
 symbolic reasoning engines that need to reason about polynomial constraints.")
    (license license:lgpl3+)))
 
+(define-public libtaylor
+  ;; Project proves no release or tagged versions, use the latest commit.
+  (let ((commit "88709f03efda5b81ff460ccef67d4fd0e7d050cc")
+        (revision "0"))
+    (package
+      (name "libtaylor")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/uekstrom/libtaylor";)
+               (commit commit)))
+         (file-name (git-file-name name commit))
+         (sha256
+          (base32 "17gp97vqlpmigf1rf1f5s8lavcswfvpyvqnxxjpdrz5dw9f51y6f"))))
+      (build-system cmake-build-system)
+      (arguments
+       '(#:phases
+         (modify-phases %standard-phases
+           (delete 'check)
+           (add-after 'install 'check
+             (lambda* (#:key tests? #:allow-other-keys #:rest args)
+               (when tests?
+                 (apply (assoc-ref %standard-phases 'check) args)))))))
+      (home-page "https://github.com/uekstrom/libtaylor";)
+      (synopsis "C++ library for automatic differentiation")
+      (description
+       "This is a header-only C++ library for calculating analytical
+derivatives and taylor expansions of composite functions.")
+      (license license:expat))))
+
 (define-public lingeling
   (package
     (name "lingeling")

Reply via email to