guix-commits
[Top][All Lists]
Advanced

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

128/151: gnu: Add ghc-cheapskate.


From: Paul
Subject: 128/151: gnu: Add ghc-cheapskate.
Date: Mon, 19 Oct 2015 08:58:53 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 741555ae35f97f39798e787c2e57811037fe1cb5
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 17:10:00 2015 +0200

    gnu: Add ghc-cheapskate.
    
    * gnu/packages/haskell.scm (ghc-cheapskate): Add variable.
---
 gnu/packages/haskell.scm |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2afd7d8..570506e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3623,6 +3623,42 @@ strict and lazy bytestrings.  For now, CRC32 and Adler32 
are supported; they
 are implemented as FFI bindings to efficient code from zlib.")
     (license bsd-3)))
 
+(define-public ghc-cheapskate
+  (package
+    (name "ghc-cheapskate")
+    (version "0.1.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/cheapskate/cheapskate-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0drx1hlqvdcrij4097q6bxhbfcqm73jsqv1wwhd3hsnjdmr46ch2"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-xss-sanitize" ,ghc-xss-sanitize)
+       ("ghc-data-default" ,ghc-data-default)))
+    (inputs
+     `(("ghc-mtl" ,ghc-mtl)
+       ("ghc-text" ,ghc-text)
+       ("ghc-blaze-html" ,ghc-blaze-html)
+       ("ghc-syb" ,ghc-syb)
+       ("ghc-uniplate" ,ghc-uniplate)
+       ("ghc-aeson" ,ghc-aeson)
+       ("ghc-wai-extra" ,ghc-wai-extra)
+       ("ghc-wai" ,ghc-wai)
+       ("ghc-http-types" ,ghc-http-types)))
+    (home-page "http://github.com/jgm/cheapskate";)
+    (synopsis "Experimental markdown processor")
+    (description "An experimental Markdown processor in pure Haskell.  It aims
+to process Markdown efficiently and in the most forgiving possible way.  It is
+designed to deal with any input, including garbage, with linear performance.
+Output is sanitized by default for protection against XSS attacks.")
+    (license bsd-3)))
+
 (define-public ghc-bifunctors
   (package
     (name "ghc-bifunctors")



reply via email to

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