[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
119/153: gnu: Add ghc-xss-sanitize.
From: |
Paul |
Subject: |
119/153: gnu: Add ghc-xss-sanitize. |
Date: |
Wed, 21 Oct 2015 20:51:00 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 0eb22458db278d64292b73bd7aced0e7716bf982
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 15 16:41:58 2015 +0200
gnu: Add ghc-xss-sanitize.
* gnu/packages/haskell.scm (ghc-xss-sanitize): New variable.
---
gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a39f781..d3e38fc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -561,6 +561,38 @@ the HaRP extension as well as HSX-style embedded XML
syntax.")
you can safely allocate resources.")
(license bsd-3)))
+(define-public ghc-xss-sanitize
+ (package
+ (name "ghc-xss-sanitize")
+ (version "0.3.5.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/xss-sanitize/xss-sanitize-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1j2qrn2dbfx01m7zyk9ilgnp9zjwq9mk62b0rdal4zkg4vh212h0"))))
+ (build-system haskell-build-system)
+ (propagated-inputs
+ `(("ghc-tagsoup" ,ghc-tagsoup)
+ ("ghc-utf8-string" ,ghc-utf8-string)
+ ("ghc-css-text" ,ghc-css-text)
+ ("ghc-network-uri" ,ghc-network-uri)))
+ (inputs
+ `(("ghc-text" ,ghc-text)
+ ("ghc-attoparsec" ,ghc-attoparsec)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-hunit" ,ghc-hunit)))
+ (home-page "http://github.com/yesodweb/haskell-xss-sanitize")
+ (synopsis "Sanitize untrusted HTML to prevent XSS attacks")
+ (description "This library provides @code{sanitizeXSS}. Run untrusted
+HTML through @code{Text.HTML.SanitizeXSS.sanitizeXSS} to prevent XSS
+attacks.")
+ (license bsd-3)))
+
(define-public ghc-streaming-commons
(package
(name "ghc-streaming-commons")
- 113/153: gnu: Add ghc-cmdargs., (continued)
- 113/153: gnu: Add ghc-cmdargs., Paul, 2015/10/21
- 120/153: gnu: Add ghc-parsers., Paul, 2015/10/21
- 136/153: gnu: Add ghc-cgi., Paul, 2015/10/21
- 135/153: gnu: Add ghc-multipart., Paul, 2015/10/21
- 139/153: gnu: Add ghc-xhtml., Paul, 2015/10/21
- 129/153: gnu: Add ghc-trifecta., Paul, 2015/10/21
- 128/153: gnu: Add ghc-cheapskate., Paul, 2015/10/21
- 106/153: gnu: Add ghc-reducers., Paul, 2015/10/21
- 112/153: gnu: Add ghc-cpphs., Paul, 2015/10/21
- 118/153: gnu: Add ghc-streaming-commons., Paul, 2015/10/21
- 119/153: gnu: Add ghc-xss-sanitize.,
Paul <=
- 122/153: gnu: Add ghc-wai., Paul, 2015/10/21
- 132/153: gnu: Add ghc-haddock-api., Paul, 2015/10/21
- 123/153: gnu: Add ghc-wai-logger., Paul, 2015/10/21
- 115/153: gnu: Add ghc-haskell-src-exts., Paul, 2015/10/21
- 124/153: gnu: Add ghc-wai-extra., Paul, 2015/10/21
- 151/153: gnu: Add raincat platform game., Paul, 2015/10/21
- 144/153: gnu: Add ghc-gluraw., Paul, 2015/10/21
- 145/153: gnu: Add ghc-objectname., Paul, 2015/10/21
- 146/153: gnu: Add ghc-opengl., Paul, 2015/10/21
- 147/153: gnu: Add ghc-glut., Paul, 2015/10/21