python313Packages.tinyhtml5: init at 2.0.0
New dependency for weasyprint
This commit is contained in:
@@ -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; [ ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user