python.pkgs.bleach_1_5_0: remove

python.pkgs.html5lib_0_9999999 can now be removed as well
This commit is contained in:
Robert Schütz 2018-06-29 20:17:09 +02:00 committed by Jean-Philippe Bernardy
parent d71dbf2f87
commit 173a3d27e6

View file

@ -1204,47 +1204,12 @@ in {
blaze = callPackage ../development/python-modules/blaze { };
# Needed for bleach 1.5.0
html5lib_0_9999999 = self.html5lib.overridePythonAttrs rec {
name = "html5lib-${version}";
disabled = isPy3k && pythonAtLeast "3.6";
buildInputs = with self; [ nose flake8 ];
propagatedBuildInputs = with self; [ six ];
checkPhase = ''
nosetests
'';
version = "0.9999999";
src = pkgs.fetchurl {
url = "https://github.com/html5lib/html5lib-python/archive/0.9999999.tar.gz";
sha256 = "1s6wdbrjzw5jhyfbskf4nj1i5bjpjqq9f89a7r1rl59rhpwmfhhq";
};
};
html5-parser = callPackage ../development/python-modules/html5-parser {};
httpserver = callPackage ../development/python-modules/httpserver {};
bleach = callPackage ../development/python-modules/bleach { };
# needed for tensorflow-tensorboard
bleach_1_5_0 = self.bleach.overridePythonAttrs rec {
version = "1.5.0";
pname = "bleach";
name = "${pname}-${version}";
propagatedBuildInputs = with self; [ six html5lib_0_9999999 ];
preCheck = ''
sed -i 's,pytest==[0-9.]*,pytest,' setup.py
'';
src = fetchPypi {
inherit pname version;
sha256 = "0rdwb3piwwl30wfqg4ywm07276w7090xfq71lb5d6k5mk62pb3lp";
};
};
blinker = callPackage ../development/python-modules/blinker { };
blockdiag = callPackage ../development/python-modules/blockdiag { };