perlPackages.LaTeXML: output tex package

This commit is contained in:
Vincenzo Mantova
2021-05-31 18:34:56 +01:00
parent ddf0468506
commit 4136fb11a8
+6
View File
@@ -10969,11 +10969,13 @@ let
url = "mirror://cpan/authors/id/B/BR/BRMILLER/${pname}-${version}.tar.gz";
sha256 = "0dr69rgl4si9i9ww1r4dc7apgb7y6f7ih808w4g0924cvz823s0x";
};
outputs = [ "out" "tex" ];
propagatedBuildInputs = [ ArchiveZip DBFile FileWhich IOString ImageSize JSONXS LWP ParseRecDescent PerlMagick PodParser TextUnidecode XMLLibXSLT ];
preCheck = ''
rm t/931_epub.t # epub test fails
'';
nativeBuildInputs = [ pkgs.makeWrapper ] ++ lib.optional stdenv.isDarwin shortenPerlShebang;
makeMakerFlags = "TEXMF=\${tex} NOMKTEXLSR";
# shebangs need to be patched before executables are copied to $out
preBuild = ''
patchShebangs bin/
@@ -10992,6 +10994,10 @@ let
description = "Transforms TeX and LaTeX into XML/HTML/MathML";
license = lib.licenses.free;
};
passthru = {
tlType = "run";
pkgs = [ LaTeXML.tex ];
};
};
libapreq2 = buildPerlPackage {