Commit e2bc23fa authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

mmg: Use 'git-fetch' instead of a generated tarball.

parent 01dfa227
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
(define-module (inria mmg) (define-module (inria mmg)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix git-download)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix licenses)) #:use-module (guix licenses))
...@@ -15,12 +15,14 @@ ...@@ -15,12 +15,14 @@
(version "5.4.1") (version "5.4.1")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/MmgTools/mmg/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/MmgTools/mmg.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0fpr0y1fy9wyda4678qzjlzravh3cns67m3b79b31bqqqjk851zb")))) "1bck0pwpzd0srx03v7hk9ij91s3r3k9mc38xpw78l51q6x1nvzmd"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:configure-flags '("-DBUILD_TESTING=ON" '(#:configure-flags '("-DBUILD_TESTING=ON"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment