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.
This commit is contained in:
Tobias Geerinckx-Rice 2020-01-21 04:29:29 +01:00
parent ed08e4ecae
commit 31f41dbc1c
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -912,18 +912,18 @@ work well in user interface (UI) environments.")
(package (package
(name "font-adobe-source-serif-pro") (name "font-adobe-source-serif-pro")
(version "2.007R-ro-1.007R-it") (version "2.007R-ro-1.007R-it")
(source (origin (source
(method url-fetch) (origin
(uri (string-append (method git-fetch)
"https://github.com/adobe-fonts/source-serif-pro/archive/" (uri (git-reference
(regexp-substitute/global (url "https://github.com/adobe-fonts/source-serif-pro.git")
;; The upstream tag uses "/" between the roman and italic (commit (regexp-substitute/global
;; versions, so substitute our "-" separator here. ;; The upstream tag uses "/" between the roman and italic
#f "R-ro-" version 'pre "R-ro/" 'post) ".tar.gz")) ;; versions, so substitute our "-" separator here.
(file-name (string-append name "-" version ".tar.gz")) #f "R-ro-" version 'pre "R-ro/" 'post))))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"1sws9k26ldqk375qsigk1zv8cq1xlvadjwvv3dqrcc3qzm1c7hwc")))) (base32 "1vvzfhjpi47m84bzkapylkd5fri8bdm8qng2hiylmmlw0wk4gpas"))))
(build-system font-build-system) (build-system font-build-system)
(home-page "https://github.com/adobe-fonts/source-serif-pro") (home-page "https://github.com/adobe-fonts/source-serif-pro")
(synopsis (synopsis