From 31f41dbc1c162728901b9e940e42c0fd7b421d48 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 21 Jan 2020 04:29:29 +0100 Subject: gnu: font-adobe-source-serif-pro: Don't use unstable tarball. * gnu/packages/fonts.scm (font-adobe-source-serif-pro)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/fonts.scm | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index dd635bab82..358c72f07a 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -912,18 +912,18 @@ work well in user interface (UI) environments.") (package (name "font-adobe-source-serif-pro") (version "2.007R-ro-1.007R-it") - (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/adobe-fonts/source-serif-pro/archive/" - (regexp-substitute/global - ;; The upstream tag uses "/" between the roman and italic - ;; versions, so substitute our "-" separator here. - #f "R-ro-" version 'pre "R-ro/" 'post) ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1sws9k26ldqk375qsigk1zv8cq1xlvadjwvv3dqrcc3qzm1c7hwc")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/adobe-fonts/source-serif-pro.git") + (commit (regexp-substitute/global + ;; The upstream tag uses "/" between the roman and italic + ;; versions, so substitute our "-" separator here. + #f "R-ro-" version 'pre "R-ro/" 'post)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vvzfhjpi47m84bzkapylkd5fri8bdm8qng2hiylmmlw0wk4gpas")))) (build-system font-build-system) (home-page "https://github.com/adobe-fonts/source-serif-pro") (synopsis -- cgit v1.2.3