about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules')
-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 = ''