summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/bleach
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-01-20 14:51:09 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-01-20 14:51:09 +0100
commit25d1d4944a5e14698b216cabaa8398b25694c15c (patch)
tree9a94269bb30761ca28261e52597cdfcfebbe2a03 /pkgs/development/python-modules/bleach
parentpython.pkgs.pytest_32: remove old version (diff)
downloadnixpkgs-25d1d4944a5e14698b216cabaa8398b25694c15c.tar.gz
python.pkgs.bleach: relax test requirement
Diffstat (limited to 'pkgs/development/python-modules/bleach')
-rw-r--r--pkgs/development/python-modules/bleach/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/bleach/default.nix b/pkgs/development/python-modules/bleach/default.nix
index eafeae0f477c..e4ccb0c92d66 100644
--- a/pkgs/development/python-modules/bleach/default.nix
+++ b/pkgs/development/python-modules/bleach/default.nix
@@ -19,6 +19,10 @@ buildPythonPackage rec {
checkInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ six html5lib ];
+ postPatch = ''
+ substituteInPlace setup.py --replace ",<3dev" ""
+ '';
+
meta = {
description = "An easy, HTML5, whitelisting HTML sanitizer";
longDescription = ''