2013-02-24 22:09:07 +01:00
|
|
|
{ cabal, attoparsec, cssText, hspec, HUnit, 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";
|
2014-03-07 23:13:27 +01:00
|
|
|
version = "0.3.5";
|
|
|
|
sha256 = "13iggcivpvzlzlx0n1pb6lyw55lc7d7hzihf1llphq6lmdy6l49s";
|
2011-08-29 22:26:45 +02:00
|
|
|
buildDepends = [
|
2012-02-16 15:05:41 +01:00
|
|
|
attoparsec cssText network tagsoup text utf8String
|
2011-08-29 22:26:45 +02:00
|
|
|
];
|
2013-02-24 22:09:07 +01:00
|
|
|
testDepends = [
|
|
|
|
attoparsec cssText hspec HUnit network tagsoup text utf8String
|
|
|
|
];
|
2011-03-12 18:28:15 +01:00
|
|
|
meta = {
|
2012-03-06 12:05:48 +01:00
|
|
|
homepage = "http://github.com/yesodweb/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;
|
2013-05-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-03-12 18:28:15 +01:00
|
|
|
};
|
2011-03-28 17:04:00 +02:00
|
|
|
})
|