Subject: [PATCH] gnu: Add fonts-tlwg.
From: chris <[email-masked]>
To: [email-masked]
Cc: chris <[email-masked]>
Date: Wed, 30 Aug 2023 15:06:40 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/fonts.scm (fonts-tlwg): New variable.
---
 gnu/packages/fonts.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index e10227f020..19bd8540af 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -57,6 +57,7 @@
 ;;; Copyright © 2023 Arnaud Lechevallier <[email-masked]>
 ;;; Copyright © 2023 gemmaro <[email-masked]>
 ;;; Copyright © 2023 Denis 'GNUtoo' Carikli <[email-masked]>
+;;; Copyright © 2023 chris <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3390,3 +3391,26 @@ (define-public font-recursive
 primarily to meet the needs of programming environments and application
 interfaces.")
     (license license:silofl1.1)))
+
+(define-public fonts-tlwg
+ (package
+   (name "fonts-tlwg")
+   (version "0.7.3")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append
+           "https://github.com/tlwg/" name
+           "/releases/download/v" version "/" name "-" version ".tar.xz"))
+     (sha256
+      (base32
+       "00mv8rmjpsk8jbbl978q3yrc2pxj8a86a3d092563dlc9n8gykkf"))))
+   (native-inputs (list fontforge))
+   (build-system gnu-build-system)
+   ;; (build-system font-build-system)
+   (home-page "https://github.com/tlwg/fonts-tlwg/")
+   (synopsis "Collection of scalable Thai fonts")
+   (description "Fonts-TLWG is a collection of Thai scalable fonts available under free
+licenses.  Its goal is to provide fonts that conform to existing standards
+and recommendations, so that it can be a reference implementation.")
+   (license license:gpl2)))
-- 
2.41.0