* [bug#67793] [PATCH] gnu: maths: Add exprtk package.
@ 2023-12-12 9:59 Lars Bilke
2024-11-01 16:22 ` [bug#67793] Add exprtk package to Guix Steve George
2025-01-02 13:17 ` [bug#67793] [PATCH v2] gnu: Add exprtk Lars Bilke
0 siblings, 2 replies; 4+ messages in thread
From: Lars Bilke @ 2023-12-12 9:59 UTC (permalink / raw)
To: 67793; +Cc: Lars Bilke
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#67793] Add exprtk package to Guix
2023-12-12 9:59 [bug#67793] [PATCH] gnu: maths: Add exprtk package Lars Bilke
@ 2024-11-01 16:22 ` Steve George
2025-01-02 13:17 ` [bug#67793] [PATCH v2] gnu: Add exprtk Lars Bilke
1 sibling, 0 replies; 4+ messages in thread
From: Steve George @ 2024-11-01 16:22 UTC (permalink / raw)
To: 67793
Hi Lars,
I came across your patch and took a quick look. You seem to only install
the exprtk.hpp file, but the Github repository has lots of other things.
Is this what you intended?
Futurile
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#67793] [PATCH v2] gnu: Add exprtk.
2023-12-12 9:59 [bug#67793] [PATCH] gnu: maths: Add exprtk package Lars Bilke
2024-11-01 16:22 ` [bug#67793] Add exprtk package to Guix Steve George
@ 2025-01-02 13:17 ` Lars Bilke
2025-01-02 13:25 ` Lars Bilke
1 sibling, 1 reply; 4+ messages in thread
From: Lars Bilke @ 2025-01-02 13:17 UTC (permalink / raw)
To: 67793; +Cc: Lars Bilke, Andreas Enge, Eric Bavier, Sharlatan Hellseher
* gnu/packages/maths.scm (exprtk): New variable.
Change-Id: I25e5a37cfd72b4b47dedc36916781b6ac355501e
---
gnu/packages/maths.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 22e2822c8c..de06e332eb 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -10826,3 +10826,23 @@ (define-public lie
(home-page "http://www-math.univ-poitiers.fr/~maavl/LiE/")
;; <http://www-math.univ-poitiers.fr/~maavl/LiE/> says LGPL.
(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 "A C++ library for mathematical expression parsing and evaluation")
+ (license license:expat)
+ (version "0.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ArashPartow/exprtk")
+ (commit version)))
+ (sha256
+ (base32 "0pszh11w29nc256qhil51g3635n06ncf0ihg7g4h86jrhqsk7183"))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan '(("exprtk.hpp" "include/"))))))
base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90
--
2.46.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#67793] [PATCH v2] gnu: Add exprtk.
2025-01-02 13:17 ` [bug#67793] [PATCH v2] gnu: Add exprtk Lars Bilke
@ 2025-01-02 13:25 ` Lars Bilke
0 siblings, 0 replies; 4+ messages in thread
From: Lars Bilke @ 2025-01-02 13:25 UTC (permalink / raw)
To: 67793; +Cc: slgeorge
Dear Futurile,
yes, copying exprtk.hpp only is intended. It contains the full (header-only) library. The license file is also copied into the store package.
Sincerely,
Lars
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-01-02 13:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 9:59 [bug#67793] [PATCH] gnu: maths: Add exprtk package Lars Bilke
2024-11-01 16:22 ` [bug#67793] Add exprtk package to Guix Steve George
2025-01-02 13:17 ` [bug#67793] [PATCH v2] gnu: Add exprtk Lars Bilke
2025-01-02 13:25 ` Lars Bilke
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).