Subject: [bug#66262] [PATCH v7 5/7] gnu: openfoam-org: Update to 11.

From: reza <[email-masked]>
Date: Fri, 1 Dec 2023 20:21:39 +0000

* gnu/packages/simulation.scm (openfoam-org): Update to 11.

Change-Id: I6f9752e8bb35754ac3f67acbaa1e4ae8b216e410
---
 gnu/packages/simulation.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index c6041643c8..b33f24a5f4 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -91,17 +91,18 @@ (define-module (gnu packages simulation)
 (define-public openfoam-org
   (package
     (name "openfoam-org")
-    (version "10.20230119")
+    (version "11")
     (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url (string-append "https://github.com/OpenFOAM/OpenFOAM-"
-                                        (version-major version)))
-                    (commit (second (string-split version #\.)))))
+              (method url-fetch)
+              (uri (string-append "https://github.com/OpenFOAM/OpenFOAM-"
+                                  (version-major version)
+                                  "/archive/"
+                                  "version-"
+                                  (version-major version)
+                                  ".tar.gz"))
               (sha256
                (base32
-                "0icvwg7s6vnkgmdiczivia9pbrgx8nanw9a4j080fzfvdv9vxhzp"))
-              (file-name (git-file-name name version))
+                "1h70a5ni2psx7bcx2xg6aqraj2kkbfn8mflh2akbp6k9mmpgih7b"))
               (modules '((guix build utils)))
               (snippet `(begin
                           ;; patch shell paths
-- 
2.41.0