2011-12-02 11:47:42 +00:00
|
|
|
{ cabal, attoparsec, cssText, network, tagsoup, text, utf8String }:
|
2011-03-12 17:28:15 +00:00
|
|
|
|
2011-08-09 23:00:20 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2011-03-12 17:28:15 +00:00
|
|
|
pname = "xss-sanitize";
|
2011-12-02 11:47:42 +00:00
|
|
|
version = "0.3.1";
|
|
|
|
sha256 = "0s8nqqx5f5b07xxlda4gh0w6vmlkhbqbz36cf6glhbhhyw27jkx5";
|
2011-08-29 20:26:45 +00:00
|
|
|
buildDepends = [
|
2011-12-02 11:47:42 +00:00
|
|
|
attoparsec cssText network tagsoup text utf8String
|
2011-08-29 20:26:45 +00:00
|
|
|
];
|
2011-03-12 17:28:15 +00:00
|
|
|
meta = {
|
2011-08-09 23:00:20 +00: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-09 23:00:20 +00: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 15:04:00 +00:00
|
|
|
})
|