Subject: bug#42445: closed (Re: [bug#42445] [PATCH] gnu: font-jetbrains-mono: Update to 2.001.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 21 Jul 2020 07:05:02 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
42445: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42445
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#42445] [PATCH] gnu: font-jetbrains-mono: Update to 2.001.
From: Efraim Flashner <[email-masked]>
To: Michael Rohleder <[email-masked]>
Cc: [email-masked]
Date: Tue, 21 Jul 2020 10:04:03 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

On Mon, Jul 20, 2020 at 09:01:26PM +0200, Michael Rohleder wrote:
> 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

There is a 'install-license-files phase so I changed this to replace
that phase.

> +           (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
> 

Patch pushed!

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH] gnu: font-jetbrains-mono: Update to 2.001.
From: Michael Rohleder <[email-masked]>
To: [email-masked]
Date: Mon, 20 Jul 2020 21:01:26 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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