diff mbox series

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

Message ID 0102018c270b44f0-5c315424-1285-443d-931b-09bbb36e243f-000000@eu-west-1.amazonses.com
State New
Headers show
Series None | expand

Commit Message

reza Dec. 1, 2023, 8:21 p.m. UTC
* gnu/packages/simulation.scm (openfoam-org): Update to 11.

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

-- 
2.41.0
diff mbox series

Patch

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