Merge pull request #229708 from Tom-Hubrecht/latexindent

perlPackages.LatexIndent: init at 3.21
This commit is contained in:
Ryan Lahfa 2023-06-30 13:57:08 +02:00 committed by GitHub
commit 3dcf767fff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12935,6 +12935,32 @@ with self; {
};
};
LatexIndent = buildPerlPackage rec {
pname = "latexindent.pl";
version = "3.21";
src = fetchFromGitHub {
owner = "cmhughes";
repo = pname;
rev = "V${version}";
hash = "sha256-STXHOzsshyN7rc2VtJxxt6La4UPGpRYlMO8TX1Jd7pM=";
};
outputs = [ "out" ];
propagatedBuildInputs = [ FileHomeDir YAMLTiny ];
preBuild = ''
patchShebangs ./latexindent.pl
'';
meta = {
description = "Perl script to add indentation to LaTeX files";
homepage = "https://github.com/cmhughes/latexindent.pl";
license = lib.licenses.gpl3Plus;
};
};
LaTeXML = buildPerlPackage rec {
pname = "LaTeXML";
version = "0.8.7";