Subject: [bug#55170] [PATCH 1/5] gnu: sundials: Add 5.8.0.

From: "Paul A. Patience" <[email-masked]>
Date: Thu, 28 Apr 2022 18:19:22 +0000

* gnu/packages/maths.scm (sundials-5, sundials-openmpi-5): New
variables.
---
 gnu/packages/maths.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e97f732def..dbb9bf1cf3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6190,6 +6190,29 @@ (define-public sundials-openmpi
              ,%openmpi-setup)))))
     (synopsis "SUNDIALS with MPI support")))

+(define-public sundials-5
+  (package
+    (inherit sundials)
+    (name "sundials")
+    (version "5.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/LLNL/sundials/releases/download/v"
+                           version "/sundials-" version ".tar.gz"))
+       (sha256
+        (base32
+         "04x2x0jchf9kbcw2a1c6f4h4as8sr6k2snfz8z9k897pa4rl1vfl"))))))
+
+(define-public sundials-openmpi-5
+  (package/inherit sundials-5
+    (name "sundials-openmpi")
+    (propagated-inputs
+     (package-propagated-inputs sundials-openmpi))
+    (arguments
+     (package-arguments sundials-openmpi))
+    (synopsis (package-synopsis sundials-openmpi))))
+
 (define-public sundials-julia
   (package
     (inherit sundials)
--
2.36.0