Subject: [bug#39071] [PATCH] Add ghc-clay

From: Guillaume Salvan <[email-masked]>
Date: Fri, 10 Jan 2020 13:35:25 +0000

---
 gnu/packages/haskell-web.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 5888e8542e..793068e46a 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1595,3 +1595,27 @@ cookies, serving files, and more.")
     (description
      "Haskell library which exposes zero-copy sendfile functionality in a portable way.")
     (license license:bsd-3)))
+
+(define-public ghc-clay
+  (package
+    (name "ghc-clay")
+    (version "0.13.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/clay/clay-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "192lsbyj6azjs2ygpx4i47fyr8zfmvwcas8mia07ndqglk2c9csx"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ;; Fix tests
+    (home-page "http://fvisser.nl/clay/")
+    (synopsis
+     "CSS preprocessor as embedded Haskell")
+    (description
+     "Clay is a CSS preprocessor like LESS and Sass,
+but implemented as an embedded domain specific language.")
+    (license license:bsd-3)))
-- 
2.24.1