From 2c24b96b1013f4dddd97df68b4af8aa68181e8e8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 19 Nov 2019 22:50:59 +0200 Subject: gnu: cmark: Don't use unstable tarball. * gnu/packages/markup.scm (cmark)[source]: Download using git-fetch. --- gnu/packages/markup.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu/packages/markup.scm') diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index 911d929e97..216f01456d 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -198,13 +198,14 @@ (define-public cmark (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")) -- cgit v1.2.3