66604c92c1
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
29 lines
No EOL
756 B
Nix
29 lines
No EOL
756 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pylatexenc";
|
|
version = "2.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phfaist";
|
|
repo = "pylatexenc";
|
|
rev = "v${version}";
|
|
sha256 = "0i4frypbv90mjir8bkp03cwkvwhgvc9p3fw6q2jz1dn7fw94v2rv";
|
|
};
|
|
|
|
pythonImportsCheck = [ "pylatexenc" ];
|
|
dontUseSetuptoolsCheck = true;
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
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/releases";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ drewrisinger ];
|
|
};
|
|
} |