guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/11: gnu: font-jetbrains-mono: Update to 2.210.


From: guix-commits
Subject: 09/11: gnu: font-jetbrains-mono: Update to 2.210.
Date: Sun, 15 Nov 2020 14:48:15 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 1d17a07eb8a927f1228b404b1c367f8d3a51852f
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Nov 15 17:43:41 2020 +0100

    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.
---
 gnu/packages/fonts.scm | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 396e89a..8940b04 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1761,24 +1761,30 @@ This package provides the TrueType fonts.")
 (define-public font-jetbrains-mono
   (package
     (name "font-jetbrains-mono")
-    (version "2.002")
+    (version "2.210")
     (source
      (origin
        (method url-fetch)
        (uri
-        (string-append "https://download.jetbrains.com/fonts/";
-                       "JetBrainsMono-" version ".zip"))
+        (string-append "https://github.com/JetBrains/JetBrainsMono/releases/";
+                       "download/v" version "/JetBrainsMono-" version ".zip"))
        (sha256
-        (base32 "0lcsl718jhkqgld1xqll7fsv8j968jlf292541fkqxwm8i5g93sn"))))
+        (base32 "19wbggnmqs3k1wdqy7l7imnx23g7hh159pl32nz3mzz8s8sqfdix"))))
     (build-system font-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (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 _
              (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/";)
     (synopsis "Mono typeface for developers")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]