pythonPackages.html5lib: fix missing buildInputs and tests

This commit is contained in:
Frederik Rietdijk 2016-12-25 11:12:37 +01:00
parent 9f5e022663
commit 849f2d9e11

View File

@ -12514,12 +12514,14 @@ in {
sha256 = "09j6194f5mlnd5xwbavwvnndwl1x91jw74shxl6hcxjp4fxg3h05";
};
buildInputs = with self; [ nose flake8 ];
buildInputs = with self; [ flake8 pytest pytest-expect mock ];
propagatedBuildInputs = with self; [
six
six webencodings
] ++ optionals isPy26 [ ordereddict ];
checkPhase = "nosetests";
checkPhase = ''
py.test
'';
meta = {
homepage = https://github.com/html5lib/html5lib-python;