summaryrefslogtreecommitdiff
path: root/gnu/packages/haskell-xyz.scm
diff options
context:
space:
mode:
authorzamfofex <zamfofex@twdb.moe>2023-06-14 09:48:48 -0300
committerLudovic Courtès <ludo@gnu.org>2023-07-07 15:30:22 +0200
commitf0c5f6eda17cdd24c571e26c359bbab026068d35 (patch)
tree10d6b078986b0c9c79432c743aae729427b4b3e1 /gnu/packages/haskell-xyz.scm
parent11d4a7152ecf5636c05da07f2f7be28b7620e348 (diff)
gnu: Add ghc-sdl2-ttf.
* gnu/packages/haskell-xyz.scm (ghc-sdl2-ttf): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/haskell-xyz.scm')
-rw-r--r--gnu/packages/haskell-xyz.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 4af52a5bec..19af57c2d1 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -10424,6 +10424,26 @@ programming.")
@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 "This package provides Haskell bindings to SDL2_ttf C++
+library.")
+ (license license:bsd-3)))
+
(define-public ghc-sdl-image
(package
(name "ghc-sdl-image")