From c5cfa23b9c00ccf6fc6d1b65fc30fe8fe73f5dda Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 13 Jul 2021 15:34:26 +0300 Subject: gnu: gmsh: Simply downloading source logic. * gnu/packages/maths.scm (gmsh)[source]: Use string-replace-substring. --- gnu/packages/maths.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index ff58b1df81..be3595fdce 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -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")) -- cgit v1.2.3