gnu: font-adobe-source-sans-pro: Don't use unstable tarball.

* gnu/packages/fonts.scm (font-adobe-source-sans-pro)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2020-01-21 04:27:51 +01:00
parent 9aee5c45c1
commit ed08e4ecae
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -887,18 +887,18 @@ (define-public font-adobe-source-sans-pro
(package (package
(name "font-adobe-source-sans-pro") (name "font-adobe-source-sans-pro")
(version "2.040R-ro-1.090R-it") (version "2.040R-ro-1.090R-it")
(source (origin (source
(method url-fetch) (origin
(uri (string-append (method git-fetch)
"https://github.com/adobe-fonts/source-sans-pro/archive/" (uri (git-reference
(regexp-substitute/global (url "https://github.com/adobe-fonts/source-sans-pro.git")
(commit (regexp-substitute/global
;; The upstream tag uses "/" between the roman and italic ;; The upstream tag uses "/" between the roman and italic
;; versions, so substitute our "-" separator here. ;; versions, so substitute our "-" separator here.
#f "R-ro-" version 'pre "R-ro/" 'post) ".tar.gz")) #f "R-ro-" version 'pre "R-ro/" 'post))))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1lzin2hfwidbvhps7shs201p1bpxy6220xmhhprv9fc8bknd4c45"))))
"1wpbhd2idps53ph8rg1mhr3vz4lsgbpjprcq10nliwcxdz9d8lv0"))))
(build-system font-build-system) (build-system font-build-system)
(home-page "https://github.com/adobe-fonts/source-sans-pro") (home-page "https://github.com/adobe-fonts/source-sans-pro")
(synopsis (synopsis