diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-09-05 22:48:21 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-09-25 22:37:06 +0300 |
commit | 3353de310dc18b468ca2483cd2ba275bb70d3f53 (patch) | |
tree | 0e2a4f5a98f5f17bb7a5f4c3a25920439f7bfcad | |
parent | 01d53df77f26d0e87fea568c612f3aec8280a266 (diff) | |
download | nixlib-3353de310dc18b468ca2483cd2ba275bb70d3f53.tar nixlib-3353de310dc18b468ca2483cd2ba275bb70d3f53.tar.gz nixlib-3353de310dc18b468ca2483cd2ba275bb70d3f53.tar.bz2 nixlib-3353de310dc18b468ca2483cd2ba275bb70d3f53.tar.lz nixlib-3353de310dc18b468ca2483cd2ba275bb70d3f53.tar.xz nixlib-3353de310dc18b468ca2483cd2ba275bb70d3f53.tar.zst nixlib-3353de310dc18b468ca2483cd2ba275bb70d3f53.zip |
Revert "pythonPkgs.html5lib_0_9999999: remove"
This reverts commit 0b2f9d1ce12d49439472045df8da3acadacc6fea. Needed as a transitive dependency for tensorflow-tensorboard. Mark as broken on Python 3.6
-rw-r--r-- | pkgs/top-level/python-packages.nix | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5c68efa56fb6..f4159f166c5a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1944,6 +1944,23 @@ 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 {}; @@ -16808,7 +16825,7 @@ in { }; disabled = !isPy3k; - + # No tests in archive doCheck = false; |