diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 64ec8c6f4671..20146730efc7 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -12904,6 +12904,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";