gnu: gmsh: Simply downloading source logic.
* gnu/packages/maths.scm (gmsh)[source]: Use string-replace-substring.
This commit is contained in:
parent
cb78595fe3
commit
c5cfa23b9c
1 changed files with 1 additions and 2 deletions
|
@ -2266,8 +2266,7 @@ This is the certified version of the Open Cascade Technology (OCCT) library.")
|
||||||
(url "https://gitlab.onelab.info/gmsh/gmsh.git")
|
(url "https://gitlab.onelab.info/gmsh/gmsh.git")
|
||||||
(commit
|
(commit
|
||||||
(string-append "gmsh_"
|
(string-append "gmsh_"
|
||||||
(string-map (lambda (x) (if (eq? x #\.) #\_ x))
|
(string-replace-substring version "." "_")))))
|
||||||
version)))))
|
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "07mi6ja3b9libgcdp2b4dwnkap1b9ha2wi2zdn9mhmwvp3g1pxhp"))
|
(base32 "07mi6ja3b9libgcdp2b4dwnkap1b9ha2wi2zdn9mhmwvp3g1pxhp"))
|
||||||
|
|
Reference in a new issue