gnu: cmark: Don't use unstable tarball.

* gnu/packages/markup.scm (cmark)[source]: Download using git-fetch.
This commit is contained in:
Efraim Flashner 2019-11-19 22:50:59 +02:00
parent d71af69d1b
commit 2c24b96b10
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -198,13 +198,14 @@ implementation.
(name "cmark")
(version "0.28.3")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/jgm/cmark/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/jgm/cmark.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1z71pacl3ni1286c206pl8lazbcd32ackivsg3zibdf1sf2qdjdc"))))
"1lal6n6q7l84njgdcq1xbfxan56qlvr8xaw9m2jbd0jk4y2wkczg"))))
(build-system cmake-build-system)
(arguments
'(#:test-target "test"))