about summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/xss-sanitize/0.3.0.1.nix
blob: e13e0e50c90b1207fc07ccdbadcf59e8c1e700c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ cabal, attoparsecText, cssText, network, tagsoup, text
, utf8String
}:

cabal.mkDerivation (self: {
  pname = "xss-sanitize";
  version = "0.3.0.1";
  sha256 = "1rycdjl7b7bk100vgdwy6iighdqsbsyvrklp0zqbl1x45abph9pc";
  buildDepends = [
    attoparsecText cssText network tagsoup text utf8String
  ];
  meta = {
    homepage = "http://github.com/gregwebs/haskell-xss-sanitize";
    description = "sanitize untrusted HTML to prevent XSS attacks";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
    maintainers = [
      self.stdenv.lib.maintainers.andres
      self.stdenv.lib.maintainers.simons
    ];
  };
})