blob: 145637b554f20c414e99169baeaf44d0be2361cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pytest-cov-stub,
multidict,
xmljson,
}:
buildPythonPackage rec {
pname = "latex2mathml";
version = "3.78.1";
pyproject = true;
src = fetchFromGitHub {
owner = "roniemartinez";
repo = "latex2mathml";
tag = version;
hash = "sha256-VhBq6KSiomFPue9yzYhU68gH+MkHovVi8VEEFi3yUZ8=";
};
build-system = [ poetry-core ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
multidict
xmljson
];
pythonImportsCheck = [ "latex2mathml" ];
meta = {
description = "Pure Python library for LaTeX to MathML conversion";
homepage = "https://github.com/roniemartinez/latex2mathml";
changelog = "https://github.com/roniemartinez/latex2mathml/releases/tag/${src.tag}";
license = lib.licenses.mit;
mainProgram = "latex2mathml";
maintainers = with lib.maintainers; [ sfrijters ];
};
}
|