[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44174] [PATCH v2 11/15] gnu: Add ghc-wizards.
From: |
Carlo Holl |
Subject: |
[bug#44174] [PATCH v2 11/15] gnu: Add ghc-wizards. |
Date: |
Sat, 31 Oct 2020 19:02:32 -0700 |
* 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
- [bug#44174] [PATCH v2 01/15] gnu: Add ghc-control-monad-free., (continued)
- [bug#44174] [PATCH v2 01/15] gnu: Add ghc-control-monad-free., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 02/15] gnu: Add ghc-csv., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 03/15] gnu: Add ghc-decimal., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 04/15] gnu: ghc-doctest: Update to 0.16.3., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 05/15] gnu: Add ghc-hspec-megaparsec., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 07/15] gnu: Add ghc-only., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 08/15] gnu: Add ghc-text-short., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 06/15] gnu: Add ghc-lucid., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 10/15] gnu: Add ghc-uglymemo., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 09/15] gnu: Add ghc-tabular., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 11/15] gnu: Add ghc-wizards.,
Carlo Holl <=
- [bug#44174] [PATCH v2 12/15] gnu: Add ghc-cassava., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 13/15] gnu: Add ghc-cassava-megaparsec., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 14/15] gnu: Add ghc-hledger-lib., Carlo Holl, 2020/10/31
- [bug#44174] [PATCH v2 15/15] gnu: Add hledger., Carlo Holl, 2020/10/31