From 4136fb11a8b68685ef39eb2a5f4a6d9a75db40f4 Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova Date: Mon, 31 May 2021 18:34:56 +0100 Subject: [PATCH 1/4] perlPackages.LaTeXML: output tex package --- pkgs/top-level/perl-packages.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 9db246eae432..a8025dacd699 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -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 { From e43f73c8d3e37f87aad26be0e55a044ed128245b Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova Date: Mon, 31 May 2021 18:34:56 +0100 Subject: [PATCH 2/4] perlPackages.LaTeXML: set license to public domain --- pkgs/top-level/perl-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index a8025dacd699..88905c45bbbd 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -10992,7 +10992,7 @@ let ''; meta = { description = "Transforms TeX and LaTeX into XML/HTML/MathML"; - license = lib.licenses.free; + license = lib.licenses.publicDomain; }; passthru = { tlType = "run"; From e55db589b7e3cb96cabdadbe17a030b66f23f4c2 Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova Date: Mon, 31 May 2021 18:34:57 +0100 Subject: [PATCH 3/4] perlPackages.LaTeXML: add xworld21 as maintainer --- pkgs/top-level/perl-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 88905c45bbbd..1f11f22d8a3e 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -10993,6 +10993,7 @@ let meta = { description = "Transforms TeX and LaTeX into XML/HTML/MathML"; license = lib.licenses.publicDomain; + maintainers = with maintainers; [ xworld21 ]; }; passthru = { tlType = "run"; From da77923caa25fef360918cab70e65867a24bbcac Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova Date: Mon, 31 May 2021 18:34:57 +0100 Subject: [PATCH 4/4] perlPackages.LaTeXML: add homepage --- pkgs/top-level/perl-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 1f11f22d8a3e..7677feb0d049 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -10992,6 +10992,7 @@ let ''; meta = { description = "Transforms TeX and LaTeX into XML/HTML/MathML"; + homepage = "https://dlmf.nist.gov/LaTeXML/"; license = lib.licenses.publicDomain; maintainers = with maintainers; [ xworld21 ]; };