2013-02-25 01:09:07 +04:00
|
|
|
{ cabal, attoparsec, cssText, hspec, HUnit, network, tagsoup, text
|
|
|
|
, utf8String
|
|
|
|
}:
|
2011-03-12 20:28:15 +03:00
|
|
|
|
2011-08-10 03:00:20 +04:00
|
|
|
cabal.mkDerivation (self: {
|
2011-03-12 20:28:15 +03:00
|
|
|
pname = "xss-sanitize";
|
2013-12-27 11:46:36 +04:00
|
|
|
version = "0.3.4.1";
|
|
|
|
sha256 = "11s7vkp8c7gdfv9vaq81p954jsc319xrfi9vv6wgfb3pqjf800mh";
|
2011-08-30 00:26:45 +04:00
|
|
|
buildDepends = [
|
2012-02-16 18:05:41 +04:00
|
|
|
attoparsec cssText network tagsoup text utf8String
|
2011-08-30 00:26:45 +04:00
|
|
|
];
|
2013-02-25 01:09:07 +04:00
|
|
|
testDepends = [
|
|
|
|
attoparsec cssText hspec HUnit network tagsoup text utf8String
|
|
|
|
];
|
2011-03-12 20:28:15 +03:00
|
|
|
meta = {
|
2012-03-06 15:05:48 +04:00
|
|
|
homepage = "http://github.com/yesodweb/haskell-xss-sanitize";
|
2011-03-12 20:28:15 +03:00
|
|
|
description = "sanitize untrusted HTML to prevent XSS attacks";
|
2011-08-10 03:00:20 +04:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-11 02:36:36 +04:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-03-12 20:28:15 +03:00
|
|
|
};
|
2011-03-28 19:04:00 +04:00
|
|
|
})
|