Subject: [PATCH 08/19] gnu: Add ghc-sdl2-ttf

From: zamfofex <[email-masked]>
Date: Wed, 14 Jun 2023 09:48:48 -0300

* gnu/packages/haskell-xyz.scm (ghc-sdl2-ttf): New variable.
---
 gnu/packages/haskell-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 97c2888c3b..3c88d769e1 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -10427,6 +10427,26 @@ (define-public ghc-sdl2-mixer
 @code{SDL2_mixer}.")
     (license license:bsd-3)))
 
+(define-public ghc-sdl2-ttf
+  (package
+    (name "ghc-sdl2-ttf")
+    (version "2.1.3")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "sdl2-ttf" version))
+              (sha256
+               (base32
+                "0sm5lrdif5wmz3iah1658zlr7yr45d1hfihb2hdxdia4h7z1j0mn"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "sdl2-ttf")))
+    (inputs (list ghc-sdl2 ghc-th-abstraction sdl2-ttf))
+    (native-inputs (list pkg-config))
+    (home-page "http://hackage.haskell.org/package/sdl2-ttf")
+    (synopsis "Bindings to SDL2_ttf.")
+    (description "Haskell bindings to SDL2_ttf C++ library
+<https://github.com/libsdl-org/SDL_ttf>.")
+    (license license:bsd-3)))
+
 (define-public ghc-sdl-image
   (package
     (name "ghc-sdl-image")
-- 
2.40.1