guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/13: gnu: cmark: Don't use unstable tarball.


From: guix-commits
Subject: 09/13: gnu: cmark: Don't use unstable tarball.
Date: Wed, 20 Nov 2019 03:08:23 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 2c24b96b1013f4dddd97df68b4af8aa68181e8e8
Author: Efraim Flashner <address@hidden>
Date:   Tue Nov 19 22:50:59 2019 +0200

    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(-)

diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm
index 911d929..216f014 100644
--- a/gnu/packages/markup.scm
+++ b/gnu/packages/markup.scm
@@ -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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]