[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
120/154: gnu: Add ghc-xss-sanitize.
From: |
Paul |
Subject: |
120/154: gnu: Add ghc-xss-sanitize. |
Date: |
Thu, 22 Oct 2015 13:52:28 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 367b3cb15f47e50df59f121754797d1a213971be
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 bfae382..bf4c56d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -553,6 +553,38 @@ source code.")
code where 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/154: gnu: Add cpphs., (continued)
- 113/154: gnu: Add cpphs., Paul, 2015/10/22
- 115/154: gnu: Add ghc-happy., Paul, 2015/10/22
- 111/154: gnu: Add ghc-adjunctions., Paul, 2015/10/22
- 112/154: gnu: Add ghc-simple-reflect., Paul, 2015/10/22
- 116/154: gnu: Add ghc-haskell-src-exts., Paul, 2015/10/22
- 118/154: gnu: Add ghc-resourcet., Paul, 2015/10/22
- 114/154: gnu: Add ghc-cmdargs., Paul, 2015/10/22
- 119/154: gnu: Add ghc-streaming-commons., Paul, 2015/10/22
- 117/154: gnu: Add hlint., Paul, 2015/10/22
- 122/154: gnu: Add ghc-cookie., Paul, 2015/10/22
- 120/154: gnu: Add ghc-xss-sanitize.,
Paul <=
- 121/154: gnu: Add ghc-parsers., Paul, 2015/10/22
- 108/154: gnu: Add ghc-reflection., Paul, 2015/10/22
- 127/154: gnu: Add ghc-kan-extensions., Paul, 2015/10/22
- 125/154: gnu: Add ghc-wai-extra., Paul, 2015/10/22
- 124/154: gnu: Add ghc-wai-logger., Paul, 2015/10/22
- 126/154: gnu: Add ghc-vector-binary-instances., Paul, 2015/10/22
- 123/154: gnu: Add ghc-wai., Paul, 2015/10/22
- 135/154: gnu: Add ghc-alex., Paul, 2015/10/22
- 138/154: gnu: Add ghc-html., Paul, 2015/10/22
- 130/154: gnu: Add ghc-trifecta., Paul, 2015/10/22