This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new e951c9f  gnu: asciidoc: Don't use unstable tarball.
e951c9f is described below

commit e951c9f205b3caddea0457f6d439f70c870482c4
Author: Efraim Flashner <[email protected]>
AuthorDate: Sun Jul 26 22:19:12 2020 +0300

    gnu: asciidoc: Don't use unstable tarball.
    
    * gnu/packages/documentation.scm (asciidoc)[source]: Download using
    git-fetch.
---
 gnu/packages/documentation.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index ac3fa7b..4708ebc 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2016 Roel Janssen <[email protected]>
 ;;; Copyright © 2016 Thomas Danckaert <[email protected]>
 ;;; Copyright © 2017 Kei Kebreau <[email protected]>
-;;; Copyright © 2017 Efraim Flashner <[email protected]>
+;;; Copyright © 2017, 2020 Efraim Flashner <[email protected]>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <[email protected]>
 ;;; Copyright © 2019 Mathieu Othacehe <[email protected]>
 ;;; Copyright © 2020 Ricardo Wurmus <[email protected]>
@@ -51,13 +51,14 @@
     (name "asciidoc")
     (version "8.6.10")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/asciidoc/asciidoc/";
-                                  "archive/" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/asciidoc/asciidoc";)
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "10xrl1iwyvs8aqm0vzkvs3dnsn93wyk942kk4ppyl6w9imbzhlly"))))
+                "1hrqkgjmp1gq3f9rkbr8l0y62fzvwb9n8ys35s25bg2ld04y4g4y"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f                     ; no 'check' target

Reply via email to