From 766ee5803e2727cd2dcda0225030a35a2a116661 Mon Sep 17 00:00:00 2001 From: Romain GARBAGE Date: Mon, 22 Jul 2024 13:28:21 +0200 Subject: [PATCH] gnu: Add ghc-brick-skylighting. * gnu/packages/haskell-xyz.scm (ghc-brick-skylighting): New variable. Change-Id: I634c108edff99b1003c26dbb2f9107ed464a5e84 --- 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 960136e872..290ea50ed6 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -15905,6 +15905,26 @@ purposes. See the an event handler and a drawing function and the library does the rest.") (license license:bsd-3))) +(define-public ghc-brick-skylighting + (package + (name "ghc-brick-skylighting") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "brick-skylighting" version)) + (sha256 + (base32 "1nw2x9zn0jlvykm89v80fh4187bxgn8l4cljgnf4mp4ci7aqjmkr")))) + (build-system haskell-build-system) + (properties '((upstream-name . "brick-skylighting"))) + (inputs (list ghc-brick ghc-vty-6 ghc-skylighting-core)) + (home-page "https://github.com/jtdaugherty/brick-skylighting/") + (synopsis "Show syntax-highlighted text in your Brick UI") + (description + "This package provides a module to use Skylighting to perform syntax +highlighting and display the results in Brick-based interfaces.") + (license license:bsd-3))) + (define-public ghc-githash (package (name "ghc-githash")