guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23/25: gnu: Add ghc-brick.


From: guix-commits
Subject: 23/25: gnu: Add ghc-brick.
Date: Mon, 22 Jul 2024 18:31:51 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 6399cf4240f7b009e6fc24773c5f8bd7d7b83621
Author: Romain GARBAGE <romain.garbage@inria.fr>
AuthorDate: Mon Jul 22 13:28:20 2024 +0200

    gnu: Add ghc-brick.
    
    * gnu/packages/haskell-xyz.scm (ghc-brick): New variable.
    
    Change-Id: I52fbfa27422a6aacca65d0e8ed5ffa3ab335cc67
---
 gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 659171d3d5..960136e872 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -15872,6 +15872,39 @@ purposes.  See the
 [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
+     "Brick helps you write @dfn{terminal user interfaces} (TUIs).  You write
+an event handler and a drawing function and the library does the rest.")
+    (license license:bsd-3)))
+
 (define-public ghc-githash
   (package
     (name "ghc-githash")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]