From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EMZ2HCRFjWZ/QwEA62LTzQ:P1 (envelope-from ) for ; Tue, 09 Jul 2024 14:11:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EMZ2HCRFjWZ/QwEA62LTzQ (envelope-from ) for ; Tue, 09 Jul 2024 16:11:48 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=j1GxqdjP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720534298; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=Z6VGpKJBvZD9/6TpZooOJOVWdpLd6X+vicc6NZhfAsk=; b=D95rvYTSlyzEmk9Uy49KjMJOw92rLHGoQ5BlJJ5XqPi5fw6wmSIHdmfPEFaKuaAAJS0iGe PAoX81qEa8u9OKRpNF1bKPNdGcKEE9rey80vEKusZFaw+meni87zn0CEGtzBiR+XJ8YFop mBO8JnOhLGrzznDf30EjUyxcJfVkbYTl+EsJhAwjYDO3te9MbUEcLwdg6dd8l6T/2143oI mUweHAFIm8kNqpdITDczPo9FSph8z4wXYytvokNNtGFKx3710u9E6oaZVTFoheEJvQOE9K B7oPPdUsEltL8Gt0J0v00bbM2lkzKmLrmVnocTFPG8EqnOma6rhdA6iLpgis7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720534298; a=rsa-sha256; cv=none; b=kKtKwXLMcnjRHGfNVn1e6Edoa8hgNuiOajbz8HJ+6yXoCwlvYfWUbg5Q/AhhXF6fG/SGjR f95NXCq5JGjzc7ZEt/FIHy9HtR3eEzvajgVpO+yOVd7ms/vORdNCAtfXtMx3gOwUVPrEDj arC5b8pTdiiZEIkJ2i0R1iXtrkUHEQyl+4RoOKv07twSBRBltmVkLAM24trn09W9Gg0dqR YghPqeGHx3jRyyrfpB7XS7Bz4/XRdQi8TRXrwWHgroz0iwd7EDDyx+yxgk51Riyto632RW AwzueO222DJpJ2z5LMOMvNOJiWGTOSHg30Ht4AKioPTs/49v6kfSdTYhrXZH8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=j1GxqdjP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=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" 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 5EAE178A9B for ; Tue, 09 Jul 2024 16:11:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRBXy-0001dZ-SJ; Tue, 09 Jul 2024 10:10:22 -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 1sRBXv-0001ay-Nx for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:20 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRBXv-0007D9-Ez for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:19 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRBY0-0001G8-Tm for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:24 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71938] [PATCH v2 23/25] gnu: Add ghc-brick. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 14:10:24 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71938 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 71938-submit@debbugs.gnu.org id=B71938.17205341794450 (code B ref 71938); Tue, 09 Jul 2024 14:10:24 +0000 Received: (at 71938) by debbugs.gnu.org; 9 Jul 2024 14:09:39 +0000 Received: from localhost ([127.0.0.1]:53756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRBXH-00019b-1f for submit@debbugs.gnu.org; Tue, 09 Jul 2024 10:09:39 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:43942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRBX1-00011E-Pz; Tue, 09 Jul 2024 10:09:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Z6VGpKJBvZD9/6TpZooOJOVWdpLd6X+vicc6NZhfAsk=; b=j1GxqdjP1czg2VkVEdI/qTOKB8yPJcu+XMeRKumlDOzUe1j9i5C/DgrG Ilf97ffIIAvtESgFOccYh6erwI8aCE1lTbhD3Os+AnYxtaPoGPcYW4bp/ FZ5wPm+88jq1ge7nS4ogXHTUSu5hWsfihkfff5wMzTG1q8lr6af6vbIrH 4=; X-IronPort-AV: E=Sophos;i="6.09,195,1716242400"; d="scan'208";a="91739226" Received: from lfbn-bay-1-62-70.w83-193.abo.wanadoo.fr (HELO guix-A102.home) ([83.193.153.70]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2024 16:08:44 +0200 From: Romain GARBAGE Date: Tue, 9 Jul 2024 15:54:07 +0200 Message-ID: <20240709140812.6183-24-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240709140812.6183-1-romain.garbage@inria.fr> References: <20240709140812.6183-1-romain.garbage@inria.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.80 X-Spam-Score: -0.80 X-Migadu-Queue-Id: 5EAE178A9B X-Migadu-Scanner: mx11.migadu.com X-TUID: 0bhF7pMXxuE6 * gnu/packages/haskell-xyz.scm (ghc-brick): New variable. Change-Id: I52fbfa27422a6aacca65d0e8ed5ffa3ab335cc67 --- gnu/packages/haskell-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 10618be91a..4ccb9c01ae 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -15887,6 +15887,45 @@ (define-public ghc-breakpoint [README](https://github.com/aaronallen8455/breakpoint#breakpoint) for details.") (license license:expat))) +(define-public ghc-brick + (package + (name "ghc-brick") + (version "2.3.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "brick" version)) + (sha256 + (base32 "160np0bz1mcfkp077yc936i026s3zv1czn8lj3k3qr6scldavw35")))) + (build-system haskell-build-system) + (properties '((upstream-name . "brick"))) + (inputs (list ghc-vty-6 + ghc-vty-crossplatform + ghc-bimap + ghc-data-clist + ghc-microlens + ghc-microlens-th + ghc-microlens-mtl + ghc-config-ini + ghc-vector + ghc-text-zipper + ghc-unix-compat-7 + ghc-word-wrap + ghc-random)) + (native-inputs (list ghc-quickcheck)) + (home-page "https://github.com/jtdaugherty/brick/") + (synopsis "Declarative terminal user interface library") + (description + "Write terminal user interfaces (TUIs) painlessly with brick'! You write an event +handler and a drawing function and the library does the rest. . . > module Main +where > > import Brick > > ui :: Widget () > ui = str \"Hello, world!\" > > main +:: IO () > main = @code{simpleMain} ui . . To get started, see: . * + . * The + . * The demonstration programs in the programs directory . . This +package deprecates .") + (license license:bsd-3))) + (define-public ghc-githash (package (name "ghc-githash") -- 2.45.1