mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
Merge pull request #118743 from xworld21/combine-latexml
perlPackages.LaTeXML: make into a texlive package
This commit is contained in:
commit
de7ff2caf7
|
@ -11108,11 +11108,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/
|
||||
|
@ -11129,7 +11131,13 @@ let
|
|||
'';
|
||||
meta = {
|
||||
description = "Transforms TeX and LaTeX into XML/HTML/MathML";
|
||||
license = lib.licenses.free;
|
||||
homepage = "https://dlmf.nist.gov/LaTeXML/";
|
||||
license = lib.licenses.publicDomain;
|
||||
maintainers = with maintainers; [ xworld21 ];
|
||||
};
|
||||
passthru = {
|
||||
tlType = "run";
|
||||
pkgs = [ LaTeXML.tex ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue