Subject: [bug#68013] [PATCH] gnu: fonts: Add font-meslo-lg and font-meslo-lg-dz.

From: [email-masked]
Date: Sun, 24 Dec 2023 19:00:25 +0000

From 5bffad2dd8ea2934fe9fd880140db5684604675f Mon Sep 17 00:00:00 2001
From: Luis Guilherme Coelho <[email-masked]>
Date: Sun, 24 Dec 2023 15:59:01 -0300
Subject: [PATCH] gnu: fonts: Add font-meslo-lg and font-meslo-lg-dz

---
 gnu/packages/fonts.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 1b2bc319f7..a1755b1ead 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -59,6 +59,7 @@
 ;;; Copyright © 2023 Denis 'GNUtoo' Carikli <[email-masked]>
 ;;; Copyright © 2023 chris <[email-masked]>
 ;;; Copyright © 2023 Luis Felipe López Acevedo <[email-masked]>
+;;; Copyright © 2023 Luis Guilherme Coelho <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1394,6 +1395,43 @@ (define-public font-adobe-source-serif-pro
 Sans Pro family.")
     (license license:silofl1.1)))
 
+(define-public font-meslo-lg
+  (package
+    (name "font-meslo-lg")
+    (version "1.2.1")
+    (source (origin
+              (file-name "font-meslo-lg")
+              (method url-fetch/zipbomb)
+              (uri (string-append
+                    "https://github.com/andreberg/Meslo-Font/raw/master/"
+                    "dist/v" version "Meslo%20LG%20v" version ".zip"))
+              (sha256
+               (base32
+                "1l08mxlzaz3i5bamnfr49s2k4k23vdm64b8nz2ha33ysimkbgg6h"))))
+    (build-system font-build-system)
+    (native-inputs (list unzip))
+    (home-page "https://github.com/andreberg/Meslo-Font")
+    (synopsis "Font for dyslexics and high readability")
+    (description
+     "Meslo LG is a customized version of Apple’s Menlo-Regular font
+(which is a customized Bitstream Vera Sans Mono).")
+    (license license:silofl1.1)))
+
+(define-public font-meslo-lg-dz
+  (package
+    (inherit font-meslo-lg)
+    (name "font-meslo-lg-dz")
+    (version (package-version font-meslo-lg))
+    (source (origin
+              (file-name "font-meslo-lg-dz")
+              (method url-fetch/zipbomb)
+              (uri (string-append
+                    "https://github.com/andreberg/Meslo-Font/raw/master/"
+                    "dist/v" version "Meslo%20LG%20DZ%20v" version ".zip"))
+              (sha256
+               (base32
+                "0lnbkrvcpgz9chnvix79j6fiz36wj6n46brb7b1746182rl1l875"))))))
+
 (define-public font-microsoft-cascadia
   (package
     (name "font-microsoft-cascadia")
-- 
2.41.0