python.pkgs.bleach: add missing dependency packaging

This commit is contained in:
Frederik Rietdijk 2020-06-17 16:46:08 +02:00 committed by Jon
parent 0dacf1d711
commit ec618a9120

View File

@ -6,6 +6,7 @@
, six , six
, html5lib , html5lib
, setuptools , setuptools
, packaging
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -18,11 +19,7 @@ buildPythonPackage rec {
}; };
checkInputs = [ pytest pytestrunner ]; checkInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ six html5lib setuptools ]; propagatedBuildInputs = [ packaging six html5lib setuptools ];
postPatch = ''
substituteInPlace setup.py --replace ",<3dev" ""
'';
# Disable network tests # Disable network tests
checkPhase = '' checkPhase = ''