guix_mirror_bot pushed a commit to branch c++-team
in repository guix.

commit d4fc83e16c4c37d3a65bab15fa76d60a7a84df12
Author: Greg Hogan <[email protected]>
AuthorDate: Mon Nov 17 18:55:33 2025 +0000

    gnu: opencascade-occt-7.6.1: Fix source origin.
    
    * gnu/packages/maths.scm (opencascade-occt-7.6.1):
    [source]<origin>: Do not inherit source version.
    
    Change-Id: Iadb988c48bd6d2bc5a4da0ae06bb5c35826d4f75
---
 gnu/packages/maths.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1272dd0506..25d697ab7a 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3696,7 +3696,13 @@ This is the certified version of the Open Cascade 
Technology (OCCT) library.")
     (version "7.6.1")
     (source
       (origin
-        (inherit (package-source opencascade-occt))
+        (method git-fetch)
+        (uri (git-reference
+              (url "https://git.dev.opencascade.org/repos/occt.git";)
+              (commit
+               (string-append "V"
+                              (string-map (lambda (x) (if (eq? x #\.) #\_ x))
+                                          version)))))
         (file-name (git-file-name name version))
         (sha256
          (base32 "1cc7n4rs26lm1awwn2bijvjq9b3kz204ffnks02lrpgs7pf8yk8b")))))))

Reply via email to