2011-08-29 21:26:45 +01:00
|
|
|
{ cabal, attoparsecText, cssText, network, tagsoup, text
|
|
|
|
, utf8String
|
|
|
|
}:
|
2011-03-12 17:28:15 +00:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2011-03-12 17:28:15 +00:00
|
|
|
pname = "xss-sanitize";
|
2011-08-29 21:26:45 +01:00
|
|
|
version = "0.3.0.1";
|
|
|
|
sha256 = "1rycdjl7b7bk100vgdwy6iighdqsbsyvrklp0zqbl1x45abph9pc";
|
|
|
|
buildDepends = [
|
|
|
|
attoparsecText cssText network tagsoup text utf8String
|
|
|
|
];
|
2011-03-12 17:28:15 +00:00
|
|
|
meta = {
|
2011-08-10 00:00:20 +01:00
|
|
|
homepage = "http://github.com/gregwebs/haskell-xss-sanitize";
|
2011-03-12 17:28:15 +00:00
|
|
|
description = "sanitize untrusted HTML to prevent XSS attacks";
|
2011-08-10 00:00:20 +01:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2011-03-12 17:28:15 +00:00
|
|
|
};
|
2011-03-28 16:04:00 +01:00
|
|
|
})
|