mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
29 lines
756 B
Nix
29 lines
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 ];
|
|
};
|
|
} |