This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new df6b3fd09d gnu: Add font-meslo-lg.
df6b3fd09d is described below

commit df6b3fd09dd3e5455d3b64a69730e15dbf16ca83
Author: Luis Guilherme Coelho <[email protected]>
AuthorDate: Sun Feb 1 15:37:31 2026 -0300

    gnu: Add font-meslo-lg.
    
    * gnu/packages/fonts (font-meslo-lg): New variable.
    
    Closes: guix/guix#6059
    Change-Id: If50b518978a6cafe941b4addb352b0b937e3ec67
    Signed-off-by: 宋文武 <[email protected]>
---
 gnu/packages/fonts.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index c1583c4ad3..d6cfa4eea0 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -70,6 +70,7 @@
 ;;; Copyright © 2025 Evgeny Pisemsky <[email protected]>
 ;;; Copyright © 2025 Lee Thompson <[email protected]>
 ;;; Copyright © 2025 Alexandre Hannud Abdo <[email protected]>
+;;; Copyright © 2026 Luis Guilherme Coelho <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3859,6 +3860,52 @@ orthography of Roman glyphs of Meera Inimai are also 
based on this
 characteristic so that they sit smoothly with the Tamil glyphs.")
     (license license:silofl1.1)))
 
+(define-public font-meslo-lg
+  (package
+    (name "font-meslo-lg")
+    (version "1.2.1")
+    (source
+     (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/andreberg/Meslo-Font";)
+            (commit (string-append "v" version))))
+      (file-name (git-file-name name version))
+      (sha256
+       (base32 "1594lxdk6788bb3i3c2fh74z4pwpzcp2r1xl3cz8cz77nrcjkl8m"))))
+    (build-system trivial-build-system)
+    (arguments
+     (list #:modules '((guix build utils)
+                       (ice-9 ftw))
+           #:builder
+           #~(let* ((orig #$(package-source this-package))
+                    (dist (string-append orig "/dist/v" #$version))
+                    (dest (string-append #$output "/share/fonts/truetype"))
+                    (meslo-lg (string-append "Meslo LG v" #$version))
+                    (meslo-lg-dz (string-append "Meslo LG DZ v" #$version))
+                    (unzip (string-append #$(this-package-native-input "unzip")
+                                          "/bin/unzip")))
+               (use-modules (guix build utils) (ice-9 ftw))
+               (mkdir-p dest)
+               (for-each (lambda (variant)
+                           (chdir dist)
+                           (invoke unzip variant "-d" dest)
+                           (chdir dest)
+                           (for-each (lambda (file)
+                                       (when (string-suffix? ".ttf" file)
+                                         (copy-file (string-append variant "/" 
file)
+                                                    file)))
+                                     (scandir variant))
+                           (delete-file-recursively variant))
+                         (list meslo-lg meslo-lg-dz)))))
+    (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-ipa
   (package
     (name "font-ipa")

Reply via email to