@@ -2898,7 +2898,7 @@ in {
28982898 };
28992899 };
29002900
2901− # Needed for bleach 1.5.0 and calibre 2.76.0
2901+ # Needed for FlexGet 1.2.337 and calibre 2.76.0
29022902 html5lib_0_9999999 = self.html5lib.override rec {
29032903 name = "html5lib-${version}";
29042904 buildInputs = with self; [ nose flake8 ];
@@ -2916,21 +2916,16 @@ in {
29162916
29172917 bleach = buildPythonPackage rec {
29182918 pname = "bleach";
2919− version = "1.5.0";
2919+ version = "2.0.0";
29202920 name = "${pname}-${version}";
29212921
29222922 src = pkgs.fetchurl {
29232923 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
2924− sha256 = "978e758599b54cd3caa2e160d74102879b230ea8dc93871d0783721eef58bc65";
2924+ sha256 = "0c5w7hh70lqzca7ir71j891csvch1899r8q09zgswk1y00q22lmr";
29252925 };
29262926
29272927 buildInputs = with self; [ pytest pytestrunner ];
2928− propagatedBuildInputs = with self; [ six html5lib_0_9999999 ];
2929−
2930− postPatch = ''
2931− substituteInPlace setup.py --replace "==3.0.3" ""
2932− substituteInPlace setup.py --replace ">=0.999,!=0.9999,!=0.99999,<0.99999999" ""
2933− '';
2928+ propagatedBuildInputs = with self; [ six html5lib ];
29342929
29352930 meta = {
29362931 description = "An easy, HTML5, whitelisting HTML sanitizer";