[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64066] [PATCH 02/19] gnu: Add ghc-hscolour
From: |
zamfofex |
Subject: |
[bug#64066] [PATCH 02/19] gnu: Add ghc-hscolour |
Date: |
Wed, 14 Jun 2023 09:48:42 -0300 |
* gnu/packages/haskell-xyz.scm (ghc-hscolour): New variable.
---
gnu/packages/haskell-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index a819698710..2a4def30ff 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
+;;; Copyright © 2023 zamfofex <zamfofex@twdb.moe>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2047,6 +2048,27 @@ (define-public ghc-colour
supported. A module of colour names (\"Data.Colour.Names\") is provided.")
(license license:expat)))
+(define-public ghc-hscolour
+ (package
+ (name "ghc-hscolour")
+ (version "1.24.4")
+ (source (origin
+ (method url-fetch)
+ (uri (hackage-uri "hscolour" version))
+ (sha256
+ (base32
+ "079jwph4bwllfp03yfr26s5zc6m6kw3nhb1cggrifh99haq34cr4"))))
+ (build-system haskell-build-system)
+ (properties '((upstream-name . "hscolour")))
+ (home-page "http://code.haskell.org/~malcolm/hscolour/")
+ (synopsis "Colourise Haskell code.")
+ (description
+ "hscolour is a small Haskell script to colourise Haskell code. It
currently has
+six output formats: ANSI terminal codes (optionally XTerm-256colour codes),
HTML
+3.2 with <font> tags, HTML 4.01 with CSS, HTML 4.01 with CSS and mouseover
+annotations, XHTML 1.0 with inline CSS styling, LaTeX, and mIRC chat codes.")
+ (license license:lgpl2.1)))
+
(define-public ghc-comonad
(package
(name "ghc-comonad")
--
2.40.1
- [bug#64066] [PATCH 00/19] Add Plunder, zamfofex, 2023/06/14
- [bug#64066] [PATCH 02/19] gnu: Add ghc-hscolour,
zamfofex <=
- [bug#64066] [PATCH 03/19] gnu: Add ghc-constraints-extras, zamfofex, 2023/06/14
- [bug#64066] [PATCH 01/19] gnu: Add ghc-proctest, zamfofex, 2023/06/14
- [bug#64066] [PATCH 05/19] gnu: Add ghc-generic-lens-core, zamfofex, 2023/06/14
- [bug#64066] [PATCH 07/19] gnu: Add ghc-these-lens, zamfofex, 2023/06/14
- [bug#64066] [PATCH 04/19] gnu: Add ghc-indexed-profunctors, zamfofex, 2023/06/14
- [bug#64066] [PATCH 08/19] gnu: Add ghc-sdl2-ttf, zamfofex, 2023/06/14
- [bug#64066] [PATCH 10/19] gnu: Add ghc-exception-transformers, zamfofex, 2023/06/14
- [bug#64066] [PATCH 06/19] gnu: Add ghc-generic-lens, zamfofex, 2023/06/14
- [bug#64066] [PATCH 09/19] gnu: Add ghc-sdl2-gfx, zamfofex, 2023/06/14
- [bug#64066] [PATCH 11/19] gnu: Add ghc-commutative-semigroup, zamfofex, 2023/06/14