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