Subject: [PATCH v2] gnu: fonts: Add font-monaspace.

From: Noé Lopez <[email-masked]>
Date: Fri, 20 Dec 2024 16:25:57 +0100

From: Josep Bigorra <[email-masked]>

* gnu/packages/fonts.scm (font-monaspace): New variable.

Change-Id: I25559696f792a8dbf4961dfba2be906fb6d5f0c0
---
 gnu/packages/fonts.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 69d7d039aa..b36a46ebb3 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -60,6 +60,7 @@
 ;;; Copyright © 2023 chris <[email-masked]>
 ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <[email-masked]>
 ;;; Copyright © 2024 Christina O'Donnell <[email-masked]>
+;;; Copyright © 2024 Josep Bigorra <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3893,3 +3894,27 @@ (define-public font-dina
 It is relatively compact to allow a lot of code on screen, while (hopefully) clear
 enough to remain readable even at high resolutions.")
     (license license:expat)))
+
+(define-public font-monaspace
+  (package
+    (name "font-monaspace")
+    (version "1.101")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/githubnext/monaspace")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "00bpzzpwz5m20ap0c1gy0rf99pc76g8lk6jr0wh7xs8fjazq7lf1"))))
+    (build-system font-build-system)
+    (home-page "https://monaspace.githubnext.com")
+    (synopsis "Innovative superfamily of fonts for code")
+    (description
+     "The Monaspace type system is a monospaced type superfamily with some modern
+tricks up its sleeve.  It consists of five variable axis typefaces.  Each one has a
+distinct voice, but they are all metrics-compatible with one another, allowing you to
+mix and match them for a more expressive typographical palette.")
+    (license license:silofl1.1)))

base-commit: 5e82c33839b1c02a3db8ef22f7b52e10d97a2f78
-- 
2.46.0