me
/
guix
Archived
1
0
Fork 0

gnu: font-jetbrains-mono: Update to 2.210.

* gnu/packages/fonts.scm (font-jetbrains-mono): Update to 2.210.
[source]: Download from GitHub.
[arguments]: Replace the ‘install-license-files’ phase.
master
Tobias Geerinckx-Rice 2020-11-15 17:43:41 +01:00
parent 3e16b3c42f
commit 1d17a07eb8
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 12 additions and 6 deletions

View File

@ -1761,24 +1761,30 @@ This package provides the TrueType fonts.")
(define-public font-jetbrains-mono (define-public font-jetbrains-mono
(package (package
(name "font-jetbrains-mono") (name "font-jetbrains-mono")
(version "2.002") (version "2.210")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "https://download.jetbrains.com/fonts/" (string-append "https://github.com/JetBrains/JetBrainsMono/releases/"
"JetBrainsMono-" version ".zip")) "download/v" version "/JetBrainsMono-" version ".zip"))
(sha256 (sha256
(base32 "0lcsl718jhkqgld1xqll7fsv8j968jlf292541fkqxwm8i5g93sn")))) (base32 "19wbggnmqs3k1wdqy7l7imnx23g7hh159pl32nz3mzz8s8sqfdix"))))
(build-system font-build-system) (build-system font-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'install-license-files 'change-directory-to-archive-root (add-before 'install-license-files 'change-directory-to-archive-root
;; Find the LICENSE file outside of the default subdirectory. ;; Find the license file outside of the default subdirectory.
(lambda _ (lambda _
(chdir "..") (chdir "..")
#t))))) #t))
(replace 'install-license-files
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(doc (string-append out "/share/doc/" ,name "-" ,version)))
(install-file "OFL.txt" doc)
#t))))))
(home-page "https://www.jetbrains.com/lp/mono/") (home-page "https://www.jetbrains.com/lp/mono/")
(synopsis "Mono typeface for developers") (synopsis "Mono typeface for developers")
(description (description