me
/
guix
Archived
1
0
Fork 0

gnu: gmsh: Simply downloading source logic.

* gnu/packages/maths.scm (gmsh)[source]: Use string-replace-substring.
master
Efraim Flashner 2021-07-13 15:34:26 +03:00
parent cb78595fe3
commit c5cfa23b9c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 1 additions and 2 deletions

View File

@ -2266,8 +2266,7 @@ This is the certified version of the Open Cascade Technology (OCCT) library.")
(url "https://gitlab.onelab.info/gmsh/gmsh.git")
(commit
(string-append "gmsh_"
(string-map (lambda (x) (if (eq? x #\.) #\_ x))
version)))))
(string-replace-substring version "." "_")))))
(file-name (git-file-name name version))
(sha256
(base32 "07mi6ja3b9libgcdp2b4dwnkap1b9ha2wi2zdn9mhmwvp3g1pxhp"))