guix-patches
[Top][All Lists]
Advanced

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

[bug#44174] [PATCH 06/16] gnu: Add ghc-lucid.


From: Carlo Holl
Subject: [bug#44174] [PATCH 06/16] gnu: Add ghc-lucid.
Date: Fri, 23 Oct 2020 10:05:34 -0700

---
 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 84f28ee5a5..f090f62b86 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -7290,6 +7290,54 @@ Transformers\" available 
@uref{http://okmij.org/ftp/papers/LogicT.pdf,
 online}.")
     (license license:bsd-3)))
 
+(define-public ghc-lucid
+  (package
+    (name "ghc-lucid")
+    (version "2.9.12")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://hackage.haskell.org/package/lucid/lucid-";
+               version
+               ".tar.gz"))
+        (sha256
+          (base32
+            "156wniydd1hlb7rygbm95zln8ky8lai8rn2apkkv0rax9cdw6jrh"))))
+    (build-system haskell-build-system)
+    (inputs
+      `(("ghc-blaze-builder" ,ghc-blaze-builder)
+        ("ghc-hashable" ,ghc-hashable)
+        ("ghc-mmorph" ,ghc-mmorph)
+        ("ghc-unordered-containers"
+         ,ghc-unordered-containers)))
+    (native-inputs
+      `(("ghc-hunit" ,ghc-hunit)
+        ("ghc-hspec" ,ghc-hspec)
+        ("ghc-bifunctors" ,ghc-bifunctors)))
+    (arguments
+      `(#:cabal-revision
+        ("1"
+         "1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9")))
+    (home-page "https://github.com/chrisdone/lucid";)
+    (synopsis
+      "Clear to write, read and edit DSL for HTML")
+    (description "Clear to write, read and edit DSL for HTML.
+
+@itemize @bullet
+@item
+Names are consistent, and do not conflict with base or are keywords
+(all have suffix @code{-}).
+@item
+Same combinator can be used for attributes and elements
+(e.g. @code{style_}).
+@item
+For more, read <https://chrisdone.com/posts/lucid the blog post>.
+@end itemize
+
+See the \"Lucid\" module for more documentation.")
+    (license license:bsd-3)))
+
 (define-public ghc-lzma
   (package
     (name "ghc-lzma")
-- 
2.28.0






reply via email to

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