From 343073b4cbdfc5898508edb78578b6684cb7e058 Mon Sep 17 00:00:00 2001 From: Lars Bilke Date: Thu, 2 Jan 2025 14:17:12 +0100 Subject: [PATCH] gnu: Add exprtk. * gnu/packages/maths.scm (exprtk): New variable. Change-Id: I25e5a37cfd72b4b47dedc36916781b6ac355501e Signed-off-by: Andreas Enge --- gnu/packages/maths.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index ed9c7bfa0e94b8cf1da10e3c0bf03696acebae52..d3c48f8006196cf406432fdd4e11b45246212668 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -10898,3 +10898,25 @@ groups. Documentation is available on (home-page "http://www-math.univ-poitiers.fr/~maavl/LiE/") ;; says LGPL. (license license:lgpl3+))) + +(define-public exprtk + (package + (name "exprtk") + (version "0.0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ArashPartow/exprtk") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pszh11w29nc256qhil51g3635n06ncf0ihg7g4h86jrhqsk7183")))) + (build-system copy-build-system) + (arguments + '(#:install-plan '(("exprtk.hpp" "include/")))) + (synopsis "C++ Mathematical Expression Parsing And Evaluation Library") + (description "ExprTk is a C++ headers only library for mathematical +expression parsing and evaluation.") + (home-page "https://www.partow.net/programming/exprtk/index.html") + (license license:expat)))