Subject: [PATCH] gnu: font-jetbrains-mono: Update to 2.001.

From: Michael Rohleder <[email-masked]>
Date: Mon, 20 Jul 2020 21:01:26 +0200

From 306dc65f139748c55fdeb1c32f00ae590e9c67a3 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <[email-masked]>
Date: Mon, 20 Jul 2020 21:00:16 +0200
Subject: [PATCH] gnu: font-jetbrains-mono: Update to 2.001.

* gnu/packages/fonts.scm (font-jetbrains-mono): Update to 2.001.
---
 gnu/packages/fonts.scm | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 38b342f770..1fbe6c9c28 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1741,7 +1741,7 @@ This package provides the TrueType fonts.")
 (define-public font-jetbrains-mono
   (package
     (name "font-jetbrains-mono")
-    (version "1.0.3")
+    (version "2.001")
     (source
      (origin
        (method url-fetch)
@@ -1749,8 +1749,17 @@ This package provides the TrueType fonts.")
         (string-append "https://download.jetbrains.com/fonts/"
                        "JetBrainsMono-" version ".zip"))
        (sha256
-        (base32 "0zvhwmpdwpm4vywmm6i9a4najz0c7vfi411yikgkd66l5hwd1p6f"))))
+        (base32 "0r3dk3kn536rik4mvpcjin9mwmifl3v8mawvb4a5l59pww0vcxzq"))))
     (build-system font-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-license
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (doc (string-append out "/share/doc/" ,name "-" ,version)))
+               (install-file "../LICENSE" doc)
+               #t))))))
     (home-page "https://www.jetbrains.com/lp/mono/")
     (synopsis "Mono typeface for developers")
     (description
-- 
2.27.0