From: Paul van der Walt <paul@denknerd.org>
To: guix-devel@gnu.org
Subject: [PATCH 094/105] gnu: Add ghc-xss-sanitize.
Date: Thu, 15 Oct 2015 17:36:07 +0200 [thread overview]
Message-ID: <1444923378-10269-4-git-send-email-paul@denknerd.org> (raw)
In-Reply-To: <1444923378-10269-1-git-send-email-paul@denknerd.org>
* gnu/packages/haskell.scm (ghc-xss-sanitize): New variable.
---
gnu/packages/haskell.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 14dc658..57ae4ef 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")
--
2.6.1
next prev parent reply other threads:[~2015-10-15 15:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-15 15:36 [PATCH 091/105] gnu: Add ghc-hlint Paul van der Walt
2015-10-15 15:36 ` [PATCH 092/105] gnu: Add ghc-resourcet Paul van der Walt
2015-10-15 15:36 ` [PATCH 093/105] gnu: Add ghc-streaming-commons Paul van der Walt
2015-10-15 15:36 ` Paul van der Walt [this message]
2015-10-15 15:36 ` [PATCH 095/105] gnu: Add ghc-parsers Paul van der Walt
2015-10-15 15:36 ` [PATCH 096/105] gnu: Add ghc-cookie Paul van der Walt
2015-10-15 15:36 ` [PATCH 097/105] gnu: Add ghc-wai Paul van der Walt
2015-10-15 15:36 ` [PATCH 098/105] gnu: Add ghc-wai-logger Paul van der Walt
2015-10-15 15:36 ` [PATCH 099/105] gnu: Add ghc-wai-extra Paul van der Walt
2015-10-15 15:36 ` [PATCH 100/105] gnu: Add ghc-vector-binary-instances Paul van der Walt
2015-10-15 15:36 ` [PATCH 101/105] gnu: Add ghc-kan-extensions Paul van der Walt
2015-10-15 15:36 ` [PATCH 102/105] gnu: Add ghc-lens Paul van der Walt
2015-10-15 15:36 ` [PATCH 103/105] gnu: Add ghc-cheapskate Paul van der Walt
2015-10-15 15:36 ` [PATCH 104/105] gnu: Add ghc-trifecta Paul van der Walt
2015-10-15 15:36 ` [PATCH 105/105] gnu: Add Idris, the dependently-typed language Paul van der Walt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1444923378-10269-4-git-send-email-paul@denknerd.org \
--to=paul@denknerd.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.