2011-08-29 22:26:45 +02:00
|
|
|
{ cabal, attoparsecText, cssText, network, tagsoup, text
|
|
|
|
, utf8String
|
|
|
|
}:
|
2011-03-12 18:28:15 +01:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2011-03-12 18:28:15 +01:00
|
|
|
pname = "xss-sanitize";
|
2011-08-29 22:26:45 +02:00
|
|
|
version = "0.3.0.1";
|
|
|
|
sha256 = "1rycdjl7b7bk100vgdwy6iighdqsbsyvrklp0zqbl1x45abph9pc";
|
|
|
|
buildDepends = [
|
|
|
|
attoparsecText cssText network tagsoup text utf8String
|
|
|
|
];
|
2011-03-12 18:28:15 +01:00
|
|
|
meta = {
|
2011-08-10 01:00:20 +02:00
|
|
|
homepage = "http://github.com/gregwebs/haskell-xss-sanitize";
|
2011-03-12 18:28:15 +01:00
|
|
|
description = "sanitize untrusted HTML to prevent XSS attacks";
|
2011-08-10 01:00:20 +02: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 18:28:15 +01:00
|
|
|
};
|
2011-03-28 17:04:00 +02:00
|
|
|
})
|