From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QJwiJEkSk1+nSQAA0tVLHw (envelope-from ) for ; Fri, 23 Oct 2020 17:26:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yGoHIEkSk18qBgAAbx9fmQ (envelope-from ) for ; Fri, 23 Oct 2020 17:26:33 +0000 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 3EEBE9400EF for ; Fri, 23 Oct 2020 17:26:33 +0000 (UTC) Received: from localhost ([::1]:60038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kW0pk-00047P-88 for larch@yhetil.org; Fri, 23 Oct 2020 13:26:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kW0pK-0003Vh-Mj for guix-patches@gnu.org; Fri, 23 Oct 2020 13:26:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kW0pK-0000QL-DN for guix-patches@gnu.org; Fri, 23 Oct 2020 13:26:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kW0pK-0000FT-9a for guix-patches@gnu.org; Fri, 23 Oct 2020 13:26:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44174] [PATCH 11/16] gnu: Add ghc-wizards. Resent-From: Carlo Holl Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Oct 2020 17:26:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44174 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44174@debbugs.gnu.org Cc: Carlo Holl Received: via spool by 44174-submit@debbugs.gnu.org id=B44174.1603473950825 (code B ref 44174); Fri, 23 Oct 2020 17:26:06 +0000 Received: (at 44174) by debbugs.gnu.org; 23 Oct 2020 17:25:50 +0000 Received: from localhost ([127.0.0.1]:58283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0p2-0000D8-RE for submit@debbugs.gnu.org; Fri, 23 Oct 2020 13:25:49 -0400 Received: from mail-pg1-f181.google.com ([209.85.215.181]:41678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kW0W9-000862-TR for 44174@debbugs.gnu.org; Fri, 23 Oct 2020 13:06:18 -0400 Received: by mail-pg1-f181.google.com with SMTP id g12so929111pgm.8 for <44174@debbugs.gnu.org>; Fri, 23 Oct 2020 10:06:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LC1UgN6eCwHPDGqeG5ZV2XzKHkYGdQxEA+/kptytdUM=; b=Xnt7qgfeUaBdQ442R8q64GEkLHTlPohL1Rc8eQSVFEdxMuVBsSbpd/P62HnnbHdmCI HkM1ZtVS1dl8ZHY5UFWDhv1Kq/Ybp7Bc8oXo+ODAxeAa+SLtgfz3tMiR6s4bKIwFHpBC oazvgL7xjwe7Kz82sSNp1pGLA47VW2ALq1TNVLmF0mMKg2lBxj4zdwxEnbKc0vzTN/KY Luhlzt8kFec4+sli5qXoh+HbT5IT/c8GDMdsw7ZH7vaNwJ8SeS30LfipEGqc26iutrAj 5HcOm3z9WSSf+XXXEQfKxSk3BnNNtScY3FFmH3m+OkxeyWFkfAak6mI7LMUzKg8Gll7u yK5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LC1UgN6eCwHPDGqeG5ZV2XzKHkYGdQxEA+/kptytdUM=; b=aiIZkN96Ihqhzeb0sU9sn3YM6XELHhSbmqe6EIk5mJuxmaWA9jFORIPbyzi05CefhS Qg9d4xIwdJ8KKdesinKb/Dxrs4t4I0+SBxDL+DmLm6692dQ8QIU5pxHXwe21KuxTpMga /ldFh4zbPYB179VttPMeIjbYBl0xKpdm6DOSpl1ktMV2W6rkORZjyBjlj2T2xwGHlPXV wH+ehtqMYFVUEMNk/UqH1+/LaoRAHZZuj0X09TszLOkSup89BUb6pV8KVUr74t1yMIjH Rij0g5YWWkRFpBwkEjASfMJm+c1hN/l9nosargcYut1kWtMp/0EtqWDanagBisHxpMEc 2bvg== X-Gm-Message-State: AOAM531XdlJtzAPhyRNq70eKf4WujHvMmw7vaSE/weMb2S9Gc0t0WjBM qsR4ujNEu7xGS5p6lE8lKO/xEPuwnxg= X-Google-Smtp-Source: ABdhPJzJbOHV/4EV/F9rsw2mqzHP1C/sujtV3rktVgqeyzt4W7x/G0kcdutcz+eMmxHyLjy/DOlyIg== X-Received: by 2002:a65:5606:: with SMTP id l6mr2885776pgs.49.1603472771904; Fri, 23 Oct 2020 10:06:11 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::7ae9]) by smtp.gmail.com with ESMTPSA id q10sm2976825pjd.6.2020.10.23.10.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 10:06:11 -0700 (PDT) From: Carlo Holl Date: Fri, 23 Oct 2020 10:05:39 -0700 Message-Id: <20201023170544.9860-11-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023170544.9860-1-carloholl@gmail.com> References: <20201023170544.9860-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Fri, 23 Oct 2020 13:25:42 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" X-Scanner: scn0 X-Spam-Score: 6.59 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Xnt7qgfe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam: Yes X-TUID: y6BIz5FeZJfY --- gnu/packages/haskell-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 269ba898b3..bfbe601ed7 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -14780,6 +14780,56 @@ widths to the Char type.") Haskell value or function.") (license license:bsd-3))) +(define-public ghc-wizards + (package + (name "ghc-wizards") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/wizards/wizards-" + version + ".tar.gz")) + (sha256 + (base32 + "1clvbd1ckhvy29qrbmpkn7bya7300fq6znnps23nn3nxyrxhsr85")))) + (build-system haskell-build-system) + (inputs + `(("ghc-control-monad-free" + ,ghc-control-monad-free))) + (arguments + `(#:cabal-revision + ("1" + "095qd17zrdhqmcvmslbyzfa5sh9glvvsnsvnlz31gzsmi8nnsgim"))) + (home-page + "http://hackage.haskell.org/package/wizards") + (synopsis + "High level, generic library for interrogative user interfaces") + (description "@code{wizards} is a package designed for the quick +and painless development of @emph{interrogative} programs, which revolve around +a \"dialogue\" with the user, who is asked a series of questions in a +sequence much like an installation wizard. + +Everything from interactive system scripts, to installation wizards, to full-blown +shells can be implemented with the support of @code{wizards}. + +It is developed transparently on top of a free monad, which separates out the +semantics of the program from any particular interface. A variety of backends +exist, including console-based @code{System.Console.Wizard.Haskeline} and +@code{System.Console.Wizard.BasicIO}, and the pure @code{System.Console.Wizard.Pure}. +It is also possible to write your own backends, or extend existing back-ends with +new features. While both built-in IO backends operate on a console, there is no +reason why @code{wizards} cannot also be used for making GUI wizard interfaces. + +See the github page for examples on usage: + +@url{http://www.github.com/liamoc/wizards} + +For creating backends, the module @code{System.Console.Wizard.Internal} has a brief +tutorial.") + (license license:bsd-3))) + (define-public ghc-wl-pprint (package (name "ghc-wl-pprint") -- 2.28.0