{ "{" (1, 1)
ID "lib" (1, 3)
, "," (1, 6)
ID "stdenv" (1, 8)
, "," (1, 14)
ID "fetchFromGitHub" (1, 16)
, "," (1, 31)
ID "makeWrapper" (1, 33)
, "," (2, 1)
ID "ghostscript" (2, 3)
, "," (2, 14)
ID "netpbm" (2, 16)
, "," (2, 22)
ID "perl" (2, 24)
} "}" (2, 29)
: ":" (2, 30)
ID "stdenv" (5, 1)
. "." (5, 7)
ID "mkDerivation" (5, 8)
REC "rec" (5, 21)
{ "{" (5, 25)
ID "pname" (6, 3)
= "=" (6, 9)
" "\"" (6, 11)
STR "latex2html" (6, 12)
" "\"" (6, 22)
; ";" (6, 23)
ID "version" (7, 3)
= "=" (7, 11)
" "\"" (7, 13)
STR "2022" (7, 14)
" "\"" (7, 18)
; ";" (7, 19)
ID "src" (9, 3)
= "=" (9, 7)
ID "fetchFromGitHub" (9, 9)
{ "{" (9, 25)
ID "owner" (10, 5)
= "=" (10, 11)
ID "pname" (10, 13)
; ";" (10, 18)
ID "repo" (11, 5)
= "=" (11, 10)
ID "pname" (11, 12)
; ";" (11, 17)
ID "rev" (12, 5)
= "=" (12, 9)
" "\"" (12, 11)
STR "v" (12, 12)
DOLLAR_CURLY "${" (12, 13)
ID "version" (12, 15)
} "}" (12, 22)
" "\"" (12, 23)
; ";" (12, 24)
ID "sha256" (13, 5)
= "=" (13, 12)
" "\"" (13, 14)
STR "sha256-a+OFBNMtP6mDqg1k9rjDLEJhZDM+zdRpPbn3aeC+Qks=" (13, 15)
" "\"" (13, 66)
; ";" (13, 67)
} "}" (14, 3)
; ";" (14, 4)
ID "buildInputs" (16, 3)
= "=" (16, 15)
[ "[" (16, 17)
ID "ghostscript" (16, 19)
ID "netpbm" (16, 31)
ID "perl" (16, 38)
] "]" (16, 43)
; ";" (16, 44)
ID "nativeBuildInputs" (18, 3)
= "=" (18, 21)
[ "[" (18, 23)
ID "makeWrapper" (18, 25)
] "]" (18, 37)
; ";" (18, 38)
ID "configurePhase" (20, 3)
= "=" (20, 18)
IND_STRING_OPEN "''\n" (20, 20)
IND_STR "    ./configure \\\n      --prefix=\"$out\" \\\n      --without-mktexlsr \\\n      --with-texpath=$out/share/texmf/tex/latex/html\n  " (21, 1)
IND_STRING_CLOSE "''" (25, 3)
; ";" (25, 5)
ID "postInstall" (27, 3)
= "=" (27, 15)
IND_STRING_OPEN "''\n" (27, 17)
IND_STR "    for p in $out/bin/{latex2html,pstoimg}; do \\\n      wrapProgram $p --add-flags '--tmp=\"" (28, 1)
IND_STR "$" (29, 42)
IND_STR "{TMPDIR:-/tmp}\"'\n    done\n  " (29, 45)
IND_STRING_CLOSE "''" (31, 3)
; ";" (31, 5)
ID "meta" (33, 3)
= "=" (33, 8)
WITH "with" (33, 10)
ID "lib" (33, 15)
; ";" (33, 18)
{ "{" (33, 20)
ID "description" (34, 5)
= "=" (34, 17)
" "\"" (34, 19)
STR "LaTeX-to-HTML translator" (34, 20)
" "\"" (34, 44)
; ";" (34, 45)
ID "longDescription" (35, 5)
= "=" (35, 21)
IND_STRING_OPEN "''\n" (35, 23)
IND_STR "      A Perl program that translates LaTeX into HTML (HyperText Markup\n      Language), optionally creating separate HTML files corresponding to each\n      unit (e.g., section) of the document. LaTeX2HTML proceeds by interpreting\n      LaTeX (to the best of its abilities). It contains definitions from a wide\n      variety of classes and packages, and users may add further definitions by\n      writing Perl scripts that provide information about class/package\n      commands.\n    " (36, 1)
IND_STRING_CLOSE "''" (43, 5)
; ";" (43, 7)
ID "homepage" (45, 5)
= "=" (45, 14)
" "\"" (45, 16)
STR "https://www.ctan.org/pkg/latex2html" (45, 17)
" "\"" (45, 52)
; ";" (45, 53)
ID "license" (47, 5)
= "=" (47, 13)
ID "licenses" (47, 15)
. "." (47, 23)
ID "gpl2" (47, 24)
; ";" (47, 28)
ID "platforms" (48, 5)
= "=" (48, 15)
WITH "with" (48, 17)
ID "platforms" (48, 22)
; ";" (48, 31)
ID "linux" (48, 33)
CONCAT "++" (48, 39)
ID "darwin" (48, 42)
; ";" (48, 48)
ID "maintainers" (49, 5)
= "=" (49, 17)
WITH "with" (49, 19)
ID "maintainers" (49, 24)
; ";" (49, 35)
[ "[" (49, 37)
ID "yurrriq" (49, 39)
] "]" (49, 47)
; ";" (49, 48)
} "}" (50, 3)
; ";" (50, 4)
} "}" (51, 1)