mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
30 lines
796 B
Nix
30 lines
796 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pylatexenc";
|
|
version = "2.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phfaist";
|
|
repo = "pylatexenc";
|
|
rev = "v${version}";
|
|
sha256 = "0m9vrbh1gmbgq6dqm7xzklar3accadw0pn896rqsdi5jbgd3w0mh";
|
|
};
|
|
|
|
pythonImportsCheck = [ "pylatexenc" ];
|
|
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";
|
|
changelog = "https://pylatexenc.readthedocs.io/en/latest/changes/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ drewrisinger ];
|
|
};
|
|
}
|