gnu: Add libtaylor.

* gnu/packages/maths.scm (libtaylor): New variable.

Change-Id: If067b8abe1bac61660d99881aa07bed34c53b2a1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
David Elsing 2025-06-03 22:56:54 +02:00 committed by Sharlatan Hellseher
parent f9f3fe2082
commit 63c736b0f9
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")