gnu: smu: Don't use unstable tarball.

* gnu/packages/markup.scm (smu)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-09-28 01:23:59 +02:00
parent 67e4abc531
commit 62b3a9b4c1
No known key found for this signature in database
GPG Key ID: D889B0F018C5493C
1 changed files with 7 additions and 5 deletions

View File

@ -23,6 +23,7 @@
(define-module (gnu packages markup) (define-module (gnu packages markup)
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
@ -227,12 +228,13 @@ for parsing and rendering CommonMark.")
(version "1.5") (version "1.5")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/Gottox/smu/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/Gottox/smu.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "194kc08070g70ax9lg7jcr6iancbmgfgims8zfkpj9lnb3wiifzk")))) (base32 "1jm7lhnzjx4q7gcwlkvsbffcy0zppywyh50d71ami6dnq182vvcc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags (list "CC=gcc" `(#:make-flags (list "CC=gcc"