2011-12-02 12:47:42 +01:00
|
|
|
{ cabal, attoparsec, 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-12-02 12:47:42 +01:00
|
|
|
version = "0.3.1";
|
|
|
|
sha256 = "0s8nqqx5f5b07xxlda4gh0w6vmlkhbqbz36cf6glhbhhyw27jkx5";
|
2011-08-29 22:26:45 +02:00
|
|
|
buildDepends = [
|
2011-12-02 12:47:42 +01:00
|
|
|
attoparsec cssText network tagsoup text utf8String
|
2011-08-29 22:26:45 +02:00
|
|
|
];
|
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
|
|
|
})
|