From 790c9ffe596e3deabf175e030adee5fb706aa981 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sat, 14 Dec 2024 00:52:36 +0100 Subject: [PATCH] gnu: cadabra2: Update to 2.5.8. * gnu/packages/engineering.scm (cadabra2): Update to 2.5.8. [arguments]<#:phases>[patch-dependencies]: Remove phase. [inputs]: Replace glibmm by glibmm-2.66. Change-Id: I1bbf7ee6e96c35c5a5dcb9c01d94cad59542a2d2 --- gnu/packages/engineering.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 3be80b697c..3f891b0629 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -4814,16 +4814,17 @@ (define-public python-asyncua (define-public cadabra2 (package (name "cadabra2") - (version "2.4.5.6") + (version "2.5.8") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/kpeeters/cadabra2") - (commit version))) + (commit version) + (recursive? #t))) (file-name (git-file-name name version)) (sha256 (base32 - "1c0832q156kl83dz1wpjw4wf2f68fg7421wxwzahnr2r7xxvgrvl")))) + "0pcijvvv75x6408r6slkwljhqb4l4csnk6dhf5333dv9j9cm76ck")))) (build-system cmake-build-system) (arguments (list @@ -4838,20 +4839,13 @@ (define-public cadabra2 (assoc-ref %outputs "out"))) #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'patch-dependencies - (lambda _ - (substitute* "cmake/modules/FindGLIBMM.cmake" - (("glibmm-2[.]4") "glibmm-2.68")) - (substitute* "client_server/ComputeThread.cc" - (("sigc::slot[(][)]") "{}") - (("Glib::SPAWN_") "Glib::SpawnFlags::")))) (add-before 'check 'prepare-checks (lambda _ (setenv "HOME" "/tmp")))))) (native-inputs (list pkg-config)) (inputs - (list glibmm gmp python boost gtkmm-3 sqlite python-gmpy2 python-sympy + (list glibmm-2.66 gmp python boost gtkmm-3 sqlite python-gmpy2 python-sympy python-mpmath python-matplotlib texlive-dvipng `(,util-linux "lib"))) (synopsis "Computer algebra system geared towards field theory")