gnu: gmsh: Fetch source from Git.

* gnu/packages/maths.scm (gmsh)[source]: Switch to GIT-FETCH.
This commit is contained in:
Paul Garlick 2019-09-12 16:12:31 +01:00
parent e2fb29b792
commit abed5df777
No known key found for this signature in database
GPG key ID: AAC7E891896B568A

View file

@ -1717,11 +1717,16 @@ (define-public gmsh
(version "2.16.0") (version "2.16.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "http://gmsh.info/src/gmsh-" (uri (git-reference
version "-source.tgz")) (url "https://gitlab.onelab.info/gmsh/gmsh.git")
(commit
(string-append "gmsh_"
(string-map (lambda (x) (if (eq? x #\.) #\_ x))
version)))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "1slf0bfkwrcgn6296wb4qhbk4ahz6i4wfb10hnim08x05vrylag8")) (base32 "08rq4jajwmlpivnm9yifz2jhaivnz065lnk0h2zv773nwl9wf162"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Remove non-free METIS code ;; Remove non-free METIS code