From 1a414131cc2858803c53af897b4c2450baa1316a Mon Sep 17 00:00:00 2001 From: David Elsing Date: Mon, 20 Oct 2025 15:13:40 +0200 Subject: [PATCH] gnu: muparser: Update to 2.3.5. * gnu/packages/maths.scm (muparser): Update to 2.3.5. [build-system]: Switch to cmake-build-system. [arguments]: Remove. [home-page]: Update. --- gnu/packages/maths.scm | 46 +++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index ae9e2a255301c9c995b2f9deeed8d6c96d5a470e..e90029f4da22f85c5d66564d49e33d036e76d93b 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6014,36 +6014,26 @@ associated functions (e.g., contiguous and non-contiguous submatrix views).") (license license:asl2.0))) (define-public muparser - ;; When switching download sites, muparser re-issued a 2.2.5 release with a - ;; different hash. In order to make `guix package --upgrade` work correctly, - ;; we set a Guix packaging revision. - ;; When the next version of muparser is released, we can remove - ;; UPSTREAM-VERSION and REVISION and use the plain VERSION. - (let ((upstream-version "2.2.5") - (revision "2")) - (package - (name "muparser") - (version (string-append upstream-version "-" revision)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/beltoforion/muparser") - (commit (string-append "v" upstream-version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0f0g4995xngf1pp3zr4p6ai2f8v6f8bxwa0k8ayjjiv1l8h44m24")))) - (build-system gnu-build-system) - (arguments - `(#:configure-flags '("--enable-samples=no") - #:tests? #f)) ;no "check" target - (home-page "http://muparser.beltoforion.de/") - (synopsis "Fast parser library for mathematical expressions") - (description - "muParser is an extensible high performance math parser library. It is + (package + (name "muparser") + (version "2.3.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/beltoforion/muparser") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zazg6awbfimjlf7352frps47ykpn7z0kz5q686xni7nka0g2k88")))) + (build-system cmake-build-system) + (home-page "https://beltoforion.de/en/muparser") + (synopsis "Fast parser library for mathematical expressions") + (description + "muParser is an extensible high performance math parser library. It is based on transforming an expression into a bytecode and precalculating constant parts of it.") - (license license:expat)))) + (license license:expat))) (define-public openblas (package