1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pytestCheckHook,
7 regex,
8}:
9
10buildPythonPackage rec {
11 pname = "flatlatex";
12 version = "0.15";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-UXDhvNT8y1K9vf8wCxS2hzBIO8RvaiqJ964rsCTk0Tk=";
18 };
19
20 build-system = [
21 setuptools
22 ];
23
24 dependencies = [
25 regex
26 ];
27
28 nativeCheckInputs = [
29 pytestCheckHook
30 ];
31
32 pythonImportsCheck = [
33 "flatlatex"
34 ];
35
36 meta = {
37 description = "LaTeX math converter to unicode text";
38 homepage = "https://github.com/jb-leger/flatlatex";
39 license = lib.licenses.bsd2;
40 maintainers = with lib.maintainers; [
41 euxane
42 renesat
43 ];
44 };
45}