From 67e4abc53115ad81579f1ea38e4aabfee1060b5a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 28 Sep 2019 01:21:51 +0200 Subject: gnu: smu: Update to 1.5. * gnu/packages/markup.scm (smu): Update to 1.5. --- gnu/packages/markup.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gnu/packages/markup.scm') diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index 2b1e2ef63c..2717ac35cd 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015 David Thompson ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017 ng0 -;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice +;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -224,7 +224,7 @@ for parsing and rendering CommonMark.") (define-public smu (package (name "smu") - (version "1.4") + (version "1.5") (source (origin (method url-fetch) @@ -232,14 +232,13 @@ for parsing and rendering CommonMark.") version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0iazl45rkz8ngsb5hpykl76w0ngvdvqqhym1qz5wykgmrzk293rp")))) + (base32 "194kc08070g70ax9lg7jcr6iancbmgfgims8zfkpj9lnb3wiifzk")))) (build-system gnu-build-system) (arguments `(#:make-flags (list "CC=gcc" (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:tests? #f ;No tests included + #:tests? #f ; no tests included #:phases (modify-phases %standard-phases (delete 'configure)))) -- cgit v1.2.3 From 62b3a9b4c1a0694feb8758be908018e390170f86 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 28 Sep 2019 01:23:59 +0200 Subject: gnu: smu: Don't use unstable tarball. * gnu/packages/markup.scm (smu)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/markup.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'gnu/packages/markup.scm') diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index 2717ac35cd..6f1f9f6f68 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -23,6 +23,7 @@ (define-module (gnu packages markup) #:use-module (guix licenses) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) @@ -227,12 +228,13 @@ for parsing and rendering CommonMark.") (version "1.5") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/Gottox/smu/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/Gottox/smu.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "194kc08070g70ax9lg7jcr6iancbmgfgims8zfkpj9lnb3wiifzk")))) + (base32 "1jm7lhnzjx4q7gcwlkvsbffcy0zppywyh50d71ami6dnq182vvcc")))) (build-system gnu-build-system) (arguments `(#:make-flags (list "CC=gcc" -- cgit v1.2.3