blob: 146aed9a3ecf853fa8f782444215c36a7c30e006 (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest
}:
buildPythonPackage rec {
pname = "pylatexenc";
version = "2.1";
src = fetchFromGitHub {
owner = "phfaist";
repo = pname;
rev = "v${version}";
sha256 = "0wnl00y5dl56aw9j4y21kqapraaravbycwfxdmjsbgl11nk4llx9";
};
pythonImportsCheck = [ "pylatexenc" ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion";
homepage = "https://pylatexenc.readthedocs.io";
downloadPage = "https;//www.github.com/phfaist/pylatexenc";
license = licenses.mit;
maintainers = with maintainers; [ drewrisinger ];
};
}
|