python3Packages.latex2mathml: 3.79.0 -> 3.81.0

This commit is contained in:
Stefan Frijters
2026-04-19 16:37:10 +02:00
parent 2fe81bb868
commit 48e5964b44
@@ -2,34 +2,40 @@
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
uv-build,
pytestCheckHook,
pytest-cov-stub,
multidict,
xmljson,
syrupy,
}:
buildPythonPackage (finalAttrs: {
pname = "latex2mathml";
version = "3.79.0";
version = "3.81.0";
pyproject = true;
src = fetchFromGitHub {
owner = "roniemartinez";
repo = "latex2mathml";
tag = finalAttrs.version;
hash = "sha256-/ixS6TlovxOZgBqDq1t6KzcG6EKBSYwf3c+drHjQec4=";
hash = "sha256-NY8SVEN9i8OcT8YS8887/TgLuIYAsS26me2BqGW0ubs=";
};
build-system = [ hatchling ];
build-system = [ uv-build ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
multidict
xmljson
syrupy
];
# nixpkgs is only at uv_build 0.10.0
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'uv_build>=0.10.11,<0.11.0' 'uv_build'
'';
pythonImportsCheck = [ "latex2mathml" ];
meta = {