Subject: bug#67793: closed (Re: [bug#67793] [PATCH v2] gnu: Add exprtk.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 22 Jan 2025 10:08:02 +0000

Your bug report

#67793: [PATCH] gnu: maths: Add exprtk package.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
67793: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67793
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#67793] [PATCH v2] gnu: Add exprtk.
From: Andreas Enge <[email-masked]>
To: Lars Bilke <[email-masked]>
Cc: [email-masked], Sharlatan Hellseher <[email-masked]>, Steve George <[email-masked]>, Eric Bavier <[email-masked]>
Date: Wed, 22 Jan 2025 11:07:12 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Lars,

apologies, the previous version slipped through my attention. I have
just committed the patch with a few changes:
- reordered the fields
- added a "(file-name (git-file-name name version))" line to the source
  field
- Turned the description into a sentence.

Thanks!

Andreas

Subject: [PATCH] gnu: maths: Add exprtk package.
From: Lars Bilke <[email-masked]>
To: [email-masked]
Cc: Lars Bilke <[email-masked]>
Date: Tue, 12 Dec 2023 10:59:20 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Change-Id: I4d83a15ea4c24b2efb1300c29d56cb222993e7f3
---
 gnu/packages/maths.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0f4d29b40f..d3774003f2 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -10020,3 +10020,28 @@ (define-public bliss
 +and canonical forms of graphs.  It has both a command line user interface as
 +well as C++ and C programming language APIs.")
     (license license:lgpl3)))
+
+(define-public exprtk
+  (package
+    (name "exprtk")
+    (home-page "https://www.partow.net/programming/exprtk/index.html")
+    (synopsis "C++ Mathematical Expression Parsing And Evaluation Library")
+    (description
+     "The C++ Mathematical Expression Toolkit Library (ExprTk) is
+a versatile, simple to use, easy to integrate and extremely efficient runtime
+mathematical expression parser and evaluation engine.  ExprTk supports
+numerous forms of functional, logical and vector processing semantics and is
+very easily extendible.")
+    (license license:expat)
+    (version "0.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ArashPartow/exprtk")
+             (commit version)))
+       (sha256
+        (base32 "1w92qlfjpcan38d88fak3avq81lkcpai5mqpbvrsfv04mi5nfpk5"))))
+    (build-system copy-build-system)
+    (arguments
+     '(#:install-plan '(("exprtk.hpp" "include/"))))))

base-commit: baeff7f546d700ae4f0c873bd0fce0ca84bebd21
-- 
2.34.1