From patchwork Sat Jul 29 23:59:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 52427 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 53D9B27BBE9; Sun, 30 Jul 2023 23:43:41 +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 D4A7B27BBEA for ; Sun, 30 Jul 2023 23:43:39 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQF7x-00042x-Bi; Sun, 30 Jul 2023 18:43: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 1qQF7w-00042V-7v for guix-patches@gnu.org; Sun, 30 Jul 2023 18:43:04 -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 1qQF7w-0005k2-09 for guix-patches@gnu.org; Sun, 30 Jul 2023 18:43:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qQF7v-00038d-RI; Sun, 30 Jul 2023 18:43:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64965] [PATCH 7/8] gnu: Add ghc-vty. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Sun, 30 Jul 2023 22:43:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64965 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 64965@debbugs.gnu.org Cc: Lars-Dominik Braun X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by 64965-submit@debbugs.gnu.org id=B64965.169075694711966 (code B ref 64965); Sun, 30 Jul 2023 22:43:03 +0000 Received: (at 64965) by debbugs.gnu.org; 30 Jul 2023 22:42:27 +0000 Received: from localhost ([127.0.0.1]:51387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQF7K-00036q-Oy for submit@debbugs.gnu.org; Sun, 30 Jul 2023 18:42:27 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:33904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQF7F-00035Z-PG for 64965@debbugs.gnu.org; Sun, 30 Jul 2023 18:42:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=Dq6NNK/JhCiQv xW1isZMm7/q9ePiU0t78LcwWEvw7pw=; h=references:in-reply-to:date: subject:to:from; d=tobias.gr; b=LA7BHQPDQzVJyFj4rPmBoUxt/j9iq1+NhJy+jP uLbntyKFTX9KCurbkupDYBDj7L3Qf+V45yXKjRlB437cT8v5kJDuS504u2E8xzhzeWK2VQ bE2lnjCZwu/1tCr4q82exvoQ9ndvakyjZc66X56rw3OPcaN0LTgIjnMfJF11zKt/OlNWL4 yHqKNg6C0XQkcwvhHKt5o69JNyFSqIP9x9YOYRxV4bNrAtBQzMp3jKjcpRZjWUlCKmPfht 6Jz/G4SDY6U2Sdpe1/ibvOUd6e5WLhfy+DF9/pT+clymdpM0SwBX87fZDUCkQodvJkmWXa Uemn7RyHwKYooemVeGAFg7eA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 6a81ab24 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <64965@debbugs.gnu.org>; Sun, 30 Jul 2023 22:42:17 +0000 (UTC) Date: Sun, 30 Jul 2023 01:59:59 +0200 Message-ID: <18509689167f350b4ced3a6d365b325a93e2205c.1690675200.git.me@tobias.gr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <020d302edff3fb5ea32ab5bc4c38abd19233992f.1690675200.git.me@tobias.gr> References: <020d302edff3fb5ea32ab5bc4c38abd19233992f.1690675200.git.me@tobias.gr> 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: , Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches X-Patchwork-Original-From: Tobias Geerinckx-Rice via Guix-patches via From: Tobias Geerinckx-Rice 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-vty): New public variable. --- gnu/packages/haskell-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 1db3a157f1..c02fd007f9 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13884,6 +13884,48 @@ (define-public ghc-void given term should not exist.") (license license:bsd-3))) +(define-public ghc-vty + (package + (name "ghc-vty") + (version "5.35.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "vty" version)) + (sha256 + (base32 "062dpz8fxrnggzpl041zpbph0xj56jki98ajm2s78dldg5vy0c9k")))) + (build-system haskell-build-system) + (native-inputs + (list ghc-hunit + ghc-quickcheck + ghc-quickcheck-assertions + ghc-random + ghc-smallcheck + ghc-string-qq + ghc-test-framework + ghc-test-framework-smallcheck + ghc-test-framework-hunit)) + (inputs + (list ghc-ansi-terminal + ghc-blaze-builder + ghc-hashable + ghc-microlens + ghc-microlens-mtl + ghc-microlens-th + ghc-parallel + ghc-utf8-string + ghc-vector)) + (arguments + `(#:cabal-revision ("1" + "1zqcvgqhcij92241g20zn3c3a4033biid3f3cqg05q1ygrmznxb5"))) + (properties '((upstream-name . "vty"))) + (home-page "https://github.com/jtdaugherty/vty") + (synopsis "Simple terminal UI library") + (description + "vty is a terminal GUI library in the niche of ncurses, intended to be easy +to use and to provide good support for common terminal types.") + (license license:bsd-3))) + (define-public ghc-wave (package (name "ghc-wave")