python313Packages.tinyhtml5: init at 2.0.0

New dependency for weasyprint
This commit is contained in:
Martin Weinelt
2025-01-27 10:57:52 +01:00
parent 76c5bc2bb7
commit e1f7d4da32
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
webencodings,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "tinyhtml5";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "CourtBouillon";
repo = "tinyhtml5";
tag = version;
hash = "sha256-8OKZAQyFMoICcln6XxTE9MHivXaW8pBVC6n+hbriIoU=";
};
build-system = [
flit-core
];
dependencies = [
webencodings
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"tinyhtml5"
];
meta = {
changelog = "https://github.com/CourtBouillon/tinyhtml5/releases/tag/${src.tag}";
description = "A tiny HTML5 parser";
homepage = "https://github.com/CourtBouillon/tinyhtml5";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
};
}
+2
View File
@@ -16282,6 +16282,8 @@ self: super: with self; {
tinygrad = callPackage ../development/python-modules/tinygrad { };
tinyhtml5 = callPackage ../development/python-modules/tinyhtml5 { };
tinyobjloader-py = callPackage ../development/python-modules/tinyobjloader-py { };
tinyrecord = callPackage ../development/python-modules/tinyrecord { };