From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iTYhDTglnl+FSgAA0tVLHw (envelope-from ) for ; Sun, 01 Nov 2020 03:02:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GOyiCDglnl8HdwAAB5/wlQ (envelope-from ) for ; Sun, 01 Nov 2020 03:02:16 +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 C56F79403A0 for ; Sun, 1 Nov 2020 03:02:15 +0000 (UTC) Received: from localhost ([::1]:57554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZ3dG-0001sH-Qj for larch@yhetil.org; Sat, 31 Oct 2020 23:02:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZ3cB-00016t-29 for guix-patches@gnu.org; Sat, 31 Oct 2020 23:01:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZ3cA-00085c-FB for guix-patches@gnu.org; Sat, 31 Oct 2020 23:01:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZ3cA-00015U-DN for guix-patches@gnu.org; Sat, 31 Oct 2020 23:01:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44174] [PATCH v2 11/15] gnu: Add ghc-wizards. Resent-From: Carlo Holl Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Nov 2020 03:01: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.16041996554058 (code B ref 44174); Sun, 01 Nov 2020 03:01:06 +0000 Received: (at 44174) by debbugs.gnu.org; 1 Nov 2020 03:00:55 +0000 Received: from localhost ([127.0.0.1]:35232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ3by-00013I-Ga for submit@debbugs.gnu.org; Sat, 31 Oct 2020 23:00:54 -0400 Received: from mail-pf1-f181.google.com ([209.85.210.181]:43678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZ2ik-0007vs-NW for 44174@debbugs.gnu.org; Sat, 31 Oct 2020 22:03:51 -0400 Received: by mail-pf1-f181.google.com with SMTP id a200so8152877pfa.10 for <44174@debbugs.gnu.org>; Sat, 31 Oct 2020 19:03:50 -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=dhfpnTEQtrSy8tnNckyrndVN1/ylI0ys8oJ/c+go378=; b=SMzCroiIpzGDnSU+ssmQuWhnthWMwosWzr0maWHXmrNz+XzaIeAhBtpfZz6zXDy0Cr xyVUZ9XKIDTrC5tvh6ks/uATkOkbArBGv4u/HL9zcPWU8eMBMaiipDs96y6mn4MHKeNe 9fwROcl3/l/fOMpT4u8F+J42NifuLqvNlHy3OdVtPsbbypBXAFE2bRgwFvwnVtxcN0LL VQmcxJmMRVt3jKvtC3USrxCAGhcagj02CYr8MXiywcWxgneD8ChutVJTfus5ZoxMobr7 yjmfXos/+ASEy+N59yq5xlXhSfr0cSc/nlSGh9h1VrFiH2WQgNQaWyzA7nOD/7LSwAln J0xQ== 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=dhfpnTEQtrSy8tnNckyrndVN1/ylI0ys8oJ/c+go378=; b=B6c8OARvty7tEOuQjZCyHXBzyucG82CFlRaBqnW6GTH7WNRobWA8sZccvuiERetVAn KL1p0JbLnaiOYL3ie9rYGBpWDzkFblRngXZs2C6znG3G9T9Svn0OJef3HCaXiJ462JNW 5TIJ9t59ZfDWm6xpoBdya7a/p6axCyjw57h5hKimiFWrH/nvgsfJhfjjKGVu+u2gvd7L MGJ53xGBhm9zvCSs02kMKODaePOOTbHCvEAVC3zZx/55UwfsCHOqCvmjP68dRmwPUFVT tvd38pL8iya33orDitdTTjF0WBzJGMgRdzRF4Vu6TA7zdCuQbKTUfoD94HeAyGedjc8b PvBA== X-Gm-Message-State: AOAM5312rXzOk9bWNvqUG4RZQKxvkWmGqbgtkVqPFTnl3I/1YKHSjh88 tifcd+AlqHmi3pxG4XanGAaHj74jBJo= X-Google-Smtp-Source: ABdhPJyIfz6qxJtyT1XtZMhxZuABmr+udkzEQGW6+zJOlK57SsAuBBwHYqQfdzmi2H0499CsEy2oyw== X-Received: by 2002:a62:f846:0:b029:15f:f897:7647 with SMTP id c6-20020a62f8460000b029015ff8977647mr15674088pfm.75.1604196224874; Sat, 31 Oct 2020 19:03:44 -0700 (PDT) Received: from cehdev.hsd1.ca.comcast.net ([2603:3024:1704:300::8401]) by smtp.gmail.com with ESMTPSA id n27sm3051213pfq.59.2020.10.31.19.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Oct 2020 19:03:44 -0700 (PDT) From: Carlo Holl Date: Sat, 31 Oct 2020 19:02:32 -0700 Message-Id: <20201101020236.1108-12-carloholl@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201101020236.1108-1-carloholl@gmail.com> References: <20201101020236.1108-1-carloholl@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Sat, 31 Oct 2020 23:00:46 -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: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=SMzCroiI; 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-Score: 5.09 X-TUID: 0n6pGGriwiFE * gnu/packages/haskell-xyz.scm (ghc-wizards): New variable. --- gnu/packages/haskell-xyz.scm | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 19657fa88f..210df9775c 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -14767,6 +14767,54 @@ 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