mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
7bbeed560c
svn path=/nixpkgs/trunk/; revision=30698
21 lines
638 B
Nix
21 lines
638 B
Nix
{ cabal, attoparsec, cssText, network, tagsoup, text, utf8String }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "xss-sanitize";
|
|
version = "0.3.1";
|
|
sha256 = "0s8nqqx5f5b07xxlda4gh0w6vmlkhbqbz36cf6glhbhhyw27jkx5";
|
|
buildDepends = [
|
|
attoparsec 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
|
|
];
|
|
};
|
|
})
|