[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
119/151: gnu: Add ghc-xss-sanitize.
From: |
Paul |
Subject: |
119/151: gnu: Add ghc-xss-sanitize. |
Date: |
Mon, 19 Oct 2015 08:58:40 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 7976b821496c3adc494bfe965946b7b6a37e844f
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 | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 09fe5db..1d5ad6e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -564,6 +564,40 @@ 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
+ "Run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to prevent
+XSS attacks.")
+ (license bsd-3)))
+
(define-public ghc-streaming-commons
(package
(name "ghc-streaming-commons")
- 111/151: gnu: Add ghc-simple-reflect., (continued)
- 111/151: gnu: Add ghc-simple-reflect., Paul, 2015/10/19
- 115/151: gnu: Add ghc-haskell-src-exts., Paul, 2015/10/19
- 117/151: gnu: Add ghc-resourcet., Paul, 2015/10/19
- 120/151: gnu: Add ghc-parsers., Paul, 2015/10/19
- 121/151: gnu: Add ghc-cookie., Paul, 2015/10/19
- 116/151: gnu: Add ghc-hlint., Paul, 2015/10/19
- 118/151: gnu: Add ghc-streaming-commons., Paul, 2015/10/19
- 122/151: gnu: Add ghc-wai., Paul, 2015/10/19
- 123/151: gnu: Add ghc-wai-logger., Paul, 2015/10/19
- 124/151: gnu: Add ghc-wai-extra., Paul, 2015/10/19
- 119/151: gnu: Add ghc-xss-sanitize.,
Paul <=
- 125/151: gnu: Add ghc-vector-binary-instances., Paul, 2015/10/19
- 127/151: gnu: Add ghc-lens., Paul, 2015/10/19
- 129/151: gnu: Add ghc-trifecta., Paul, 2015/10/19
- 128/151: gnu: Add ghc-cheapskate., Paul, 2015/10/19
- 126/151: gnu: Add ghc-kan-extensions., Paul, 2015/10/19
- 130/151: gnu: Add Idris, the dependently-typed language., Paul, 2015/10/19
- 132/151: gnu: Add ghc-haddock-api., Paul, 2015/10/19
- 133/151: gnu: Add ghc-haddock., Paul, 2015/10/19
- 131/151: gnu: Add ghc-haddock-library., Paul, 2015/10/19
- 135/151: gnu: Add ghc-multipart., Paul, 2015/10/19