aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/bleach/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/bleach/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/bleach/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/bleach/default.nix b/nixpkgs/pkgs/development/python-modules/bleach/default.nix
index 1b10fe166f8..9b27ae25490 100644
--- a/nixpkgs/pkgs/development/python-modules/bleach/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/bleach/default.nix
@@ -6,6 +6,7 @@
, six
, html5lib
, setuptools
+, packaging
}:
buildPythonPackage rec {
@@ -18,11 +19,7 @@ buildPythonPackage rec {
};
checkInputs = [ pytest pytestrunner ];
- propagatedBuildInputs = [ six html5lib setuptools ];
-
- postPatch = ''
- substituteInPlace setup.py --replace ",<3dev" ""
- '';
+ propagatedBuildInputs = [ packaging six html5lib setuptools ];
# Disable network tests
checkPhase = ''