unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42445] [PATCH] gnu: font-jetbrains-mono: Update to 2.001.
@ 2020-07-20 19:01 Michael Rohleder
  2020-07-21  7:04 ` bug#42445: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2020-07-20 19:01 UTC (permalink / raw)
  To: 42445


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: [PATCH] gnu: font-jetbrains-mono: Update to 2.001. --]
[-- Type: text/x-patch, Size: 1732 bytes --]

From 306dc65f139748c55fdeb1c32f00ae590e9c67a3 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#42445: [PATCH] gnu: font-jetbrains-mono: Update to 2.001.
  2020-07-20 19:01 [bug#42445] [PATCH] gnu: font-jetbrains-mono: Update to 2.001 Michael Rohleder
@ 2020-07-21  7:04 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2020-07-21  7:04 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 42445-done

[-- Attachment #1: Type: text/plain, Size: 2208 bytes --]

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 <mike@rohleder.de>
> 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   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-21  7:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-20 19:01 [bug#42445] [PATCH] gnu: font-jetbrains-mono: Update to 2.001 Michael Rohleder
2020-07-21  7:04 ` bug#42445: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).