Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 62 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchFromGitHub, setuptools, six, webencodings, pytest-expect, pytestCheckHook, unstableGitUpdater,}:
buildPythonPackage { pname = "html5lib"; version = "1.1-unstable-2024-02-21"; pyproject = true;
src = fetchFromGitHub { owner = "html5lib"; repo = "html5lib-python"; rev = "fd4f032bc090d44fb11a84b352dad7cbee0a4745"; hash = "sha256-Hyte1MEqlrD2enfunK1qtm3FJlUDqmhSyrCjo7VaBgA="; };
patches = [ # https://github.com/html5lib/html5lib-python/pull/583 ./python314-compat.patch # https://github.com/html5lib/html5lib-python/pull/590 ./pytest9-compat.patch ];
build-system = [ setuptools ];
dependencies = [ six webencodings ];
nativeCheckInputs = [ pytest-expect pytestCheckHook ];
passthru.updateScript = unstableGitUpdater { branch = "master"; };
meta = { homepage = "https://github.com/html5lib/html5lib-python"; downloadPage = "https://github.com/html5lib/html5lib-python/releases"; description = "HTML parser based on WHAT-WG HTML5 specification"; longDescription = '' html5lib is a pure-python library for parsing HTML. It is designed to conform to the WHATWG HTML specification, as is implemented by all major web browsers. ''; license = lib.licenses.mit; maintainers = with lib.maintainers; [ prikhi ]; };}