12 buildPythonPackage rec {
17 inherit pname version;
18 sha256 = "b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f";
22 # Fix compatibility with pytest 6.
23 # Will be included in the next release after 1.1.
25 url = "https://github.com/html5lib/html5lib-python/commit/2c19b9899ab3a3e8bd0ca35e5d78544334204169.patch";
26 hash = "sha256-VGCeB6o2QO/skeCZs8XLPfgEYVOSRL8cCpG7ajbZWEs=";
30 propagatedBuildInputs = [
35 # latest release not compatible with pytest 6
44 homepage = "https://github.com/html5lib/html5lib-python";
45 downloadPage = "https://github.com/html5lib/html5lib-python/releases";
46 description = "HTML parser based on WHAT-WG HTML5 specification";
48 html5lib is a pure-python library for parsing HTML. It is designed to
49 conform to the WHATWG HTML specification, as is implemented by all
52 license = lib.licenses.mit;
53 maintainers = with lib.maintainers; [ domenkozar prikhi ];