From patchwork Mon Jul 22 11:28:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 66451 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3379227BBEB; Mon, 22 Jul 2024 12:33:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E0AAE27BBE9 for ; Mon, 22 Jul 2024 12:33:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVrHA-0000Br-AG; Mon, 22 Jul 2024 07:32:20 -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 1sVrGr-00087w-Da for guix-patches@gnu.org; Mon, 22 Jul 2024 07:32:01 -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 1sVrGp-0007gz-KV for guix-patches@gnu.org; Mon, 22 Jul 2024 07:32:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVrGs-0007IX-HE for guix-patches@gnu.org; Mon, 22 Jul 2024 07:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44518] [PATCH v3 23/25] gnu: Add ghc-brick. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jul 2024 11:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44518 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 44518-submit@debbugs.gnu.org id=B44518.172164789627979 (code B ref 44518); Mon, 22 Jul 2024 11:32:02 +0000 Received: (at 44518) by debbugs.gnu.org; 22 Jul 2024 11:31:36 +0000 Received: from localhost ([127.0.0.1]:57077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrGR-0007H7-Q4 for submit@debbugs.gnu.org; Mon, 22 Jul 2024 07:31:36 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVrFZ-0005dc-0Z; Mon, 22 Jul 2024 07:30:42 -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=gmgXOCjEo4WSfmjW0gJLnhAaPevO2s4SYRRDyq1/viqnwPgqwVPEgIce 8nHtj/hujRSPFZ9SWMGTg33orkq6jCnIPRstslD5GoU7Qmh8D3P7QVeJS WRd6z1DWT3LGKwV5UxwPQfuR4MYR85iXm/RlaksnEfoI1nz2JsMVqhu8D Q=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,228,1716242400"; d="scan'208";a="92688939" Received: from unknown (HELO guix-A102.bordeaux.inria.fr) ([193.50.110.122]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2024 13:30:20 +0200 From: Romain GARBAGE Date: Mon, 22 Jul 2024 13:28:20 +0200 Message-ID: <20240722113008.9057-24-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240722113008.9057-1-romain.garbage@inria.fr> References: <20240722113008.9057-1-romain.garbage@inria.fr> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")