From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +MF3I7C3iWQAUQAASxT56A (envelope-from ) for ; Wed, 14 Jun 2023 14:50:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2GwQI7C3iWTd5wAAauVa8A (envelope-from ) for ; Wed, 14 Jun 2023 14:50:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3A55E9052 for ; Wed, 14 Jun 2023 14:50:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9Pwr-0006ci-Ab; Wed, 14 Jun 2023 08:50:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9Pwq-0006c7-08 for guix-patches@gnu.org; Wed, 14 Jun 2023 08:50:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9Pwp-0004wa-MI for guix-patches@gnu.org; Wed, 14 Jun 2023 08:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9Pwp-00039X-C4; Wed, 14 Jun 2023 08:50:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64066] [PATCH 02/19] gnu: Add ghc-hscolour Resent-From: zamfofex Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Wed, 14 Jun 2023 12:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64066 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64066@debbugs.gnu.org Cc: zamfofex , Lars-Dominik Braun X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by 64066-submit@debbugs.gnu.org id=B64066.168674697411965 (code B ref 64066); Wed, 14 Jun 2023 12:50:03 +0000 Received: (at 64066) by debbugs.gnu.org; 14 Jun 2023 12:49:34 +0000 Received: from localhost ([127.0.0.1]:43999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9PwL-00036v-Ve for submit@debbugs.gnu.org; Wed, 14 Jun 2023 08:49:34 -0400 Received: from mta-13-4.privateemail.com ([198.54.127.109]:17060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9PwJ-00036T-NE for 64066@debbugs.gnu.org; Wed, 14 Jun 2023 08:49:32 -0400 Received: from mta-13.privateemail.com (localhost [127.0.0.1]) by mta-13.privateemail.com (Postfix) with ESMTP id B4D3618002C1; Wed, 14 Jun 2023 08:49:25 -0400 (EDT) Received: from localhost.localdomain (unknown [189.7.70.215]) by mta-13.privateemail.com (Postfix) with ESMTPA id CDAFC18002C0; Wed, 14 Jun 2023 08:49:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=twdb.moe; s=default; t=1686746965; bh=2k07fWUEQ97PXFKJFmv6FtAjAehGCia4NnEvFvwRnpQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AR9rjLzHL/NF2aDgbZEkUVdq3nKD2adkyNdap/GABtaWYWpLfl/kFJtWVjAbvgIum oslfLPSZhuMboohOl3gFNBSKK79IsebZighPIdisGnr2d7Z12pUaWklp/cKKdgoaSi 51EX5h/C5LwRYDYAWqe1rFl1SMGrwhEZmjQxOFU2q2HmciVJXsHq0yVBB9fKRjj6d9 v4KqofaK0B1EJFpvojiUu/qVJzmK8TTGe7zBTJGQitjrTjp0MISKLat+4fc0gONeul 5BXIbF3uN3KfqaXNJOtqY5fKOe9TrJEWNAxvdmy8bnxPq5GH3RglRXLrjggO59+LLD DARvRBCyWNzuA== From: zamfofex Date: Wed, 14 Jun 2023 09:48:42 -0300 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686747056; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7F50G34PVIKNKCCnPEtC6KZMN9nQG+YtdpHVO2OHiN8=; b=R2K932J+45LBLdqAH6IVO30lD5FcQWa2a6o4S/K3D4nuKrDyM2oMFea+sBNhZWE0Br2t/M 2VKpUmzJgT+47H8PARQlhUu++UqppkygAr7gdiPa+Oy5HyZSaw1kynJh1//OSMeFPpGRgV Bn3c4CIzkrCwL0Vazn0ERhrpNkWrCmDofblmhXAjy38bTo15XidyMU4mb9/McQdZC3NL1Q X9cS6uBcCH3AaxLfzZnn9pwRoqn0lP1N8qXbYGra1A1hXyEcAQFCFRAbT15IPJhZnff0+F PAfu3K59eClTs2jFajXIgyShDAHgJJfGy2r1sgfnrJHNaEMCLgqrHS2PDWh9VA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=twdb.moe header.s=default header.b=AR9rjLzH; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686747056; a=rsa-sha256; cv=none; b=ikSNMVYM4ardkaq/TTU5wJoqkAWnxQCSVyDeOPoT7HuSovB/ZzAAgR0igY7lxKXlHVzp3m VoqKBRR4xZLOJigiQkoOgUFvqczKLiqzMe6AkhGKGdAiNrhgVp2Mvd6HS3DyrxnLqDDQxE POMN5qD93dJAv2p73hqlNa2gca2JiNExRPhLob/biXUCHaPHjvUd4bi1BpFeKjJ5ufRpSP gJvaDjKFXauQ1O1mn3TehWHnLIZljGHatDB8varby8wE56jYb30Do23ni5LzsIE7hetzz7 /r0wFqliCLyG8Ea+bJXTTuJ30j6y/d/NRY7YrcPCBP42L6SAf7XJTwJ0VmBzAw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.73 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=twdb.moe header.s=default header.b=AR9rjLzH; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3A55E9052 X-Spam-Score: -0.73 X-TUID: 6x2Xm7XaKmPd * 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 ;;; Copyright © 2022 jgart ;;; Copyright © 2023 Josselin Poiret +;;; Copyright © 2023 zamfofex ;;; ;;; 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 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