{ "{" (1, 1)
ID "lib" (1, 3)
, "," (1, 6)
ID "stdenv" (1, 8)
, "," (1, 14)
ID "fetchFromGitHub" (1, 16)
, "," (1, 31)
ID "nixosTests" (1, 33)
, "," (1, 43)
ID "which" (1, 45)
, "," (2, 1)
ID "pcre2" (2, 3)
, "," (3, 1)
ID "withPython2" (3, 3)
? "?" (3, 15)
ID "false" (3, 17)
, "," (3, 22)
ID "python2" (3, 24)
, "," (4, 1)
ID "withPython3" (4, 3)
? "?" (4, 15)
ID "true" (4, 17)
, "," (4, 21)
ID "python3" (4, 23)
, "," (4, 30)
ID "ncurses" (4, 32)
, "," (5, 1)
ID "withPHP74" (5, 3)
? "?" (5, 13)
ID "false" (5, 15)
, "," (5, 20)
ID "php74" (5, 22)
, "," (6, 1)
ID "withPHP80" (6, 3)
? "?" (6, 13)
ID "true" (6, 15)
, "," (6, 19)
ID "php80" (6, 21)
, "," (7, 1)
ID "withPerl532" (7, 3)
? "?" (7, 15)
ID "false" (7, 17)
, "," (7, 22)
ID "perl532" (7, 24)
, "," (8, 1)
ID "withPerl534" (8, 3)
? "?" (8, 15)
ID "true" (8, 17)
, "," (8, 21)
ID "perl534" (8, 23)
, "," (9, 1)
ID "withPerldevel" (9, 3)
? "?" (9, 17)
ID "false" (9, 19)
, "," (9, 24)
ID "perldevel" (9, 26)
, "," (10, 1)
ID "withRuby_2_7" (10, 3)
? "?" (10, 16)
ID "false" (10, 18)
, "," (10, 23)
ID "ruby_2_7" (10, 25)
, "," (11, 1)
ID "withSSL" (11, 3)
? "?" (11, 11)
ID "true" (11, 13)
, "," (11, 17)
ID "openssl" (11, 19)
? "?" (11, 27)
ID "null" (11, 29)
, "," (12, 1)
ID "withIPv6" (12, 3)
? "?" (12, 12)
ID "true" (12, 14)
, "," (13, 1)
ID "withDebug" (13, 3)
? "?" (13, 13)
ID "false" (13, 15)
} "}" (14, 1)
: ":" (14, 2)
WITH "with" (16, 1)
ID "lib" (16, 6)
; ";" (16, 9)
LET "let" (18, 1)
ID "phpConfig" (19, 3)
= "=" (19, 13)
{ "{" (19, 15)
ID "embedSupport" (20, 5)
= "=" (20, 18)
ID "true" (20, 20)
; ";" (20, 24)
ID "apxs2Support" (21, 5)
= "=" (21, 18)
ID "false" (21, 20)
; ";" (21, 25)
ID "systemdSupport" (22, 5)
= "=" (22, 20)
ID "false" (22, 22)
; ";" (22, 27)
ID "phpdbgSupport" (23, 5)
= "=" (23, 19)
ID "false" (23, 21)
; ";" (23, 26)
ID "cgiSupport" (24, 5)
= "=" (24, 16)
ID "false" (24, 18)
; ";" (24, 23)
ID "fpmSupport" (25, 5)
= "=" (25, 16)
ID "false" (25, 18)
; ";" (25, 23)
} "}" (26, 3)
; ";" (26, 4)
ID "php74-unit" (28, 3)
= "=" (28, 14)
ID "php74" (28, 16)
. "." (28, 21)
ID "override" (28, 22)
ID "phpConfig" (28, 31)
; ";" (28, 40)
ID "php80-unit" (29, 3)
= "=" (29, 14)
ID "php80" (29, 16)
. "." (29, 21)
ID "override" (29, 22)
ID "phpConfig" (29, 31)
; ";" (29, 40)
IN "in" (31, 1)
ID "stdenv" (31, 4)
. "." (31, 10)
ID "mkDerivation" (31, 11)
REC "rec" (31, 24)
{ "{" (31, 28)
ID "version" (32, 3)
= "=" (32, 11)
" "\"" (32, 13)
STR "1.26.1" (32, 14)
" "\"" (32, 20)
; ";" (32, 21)
ID "pname" (33, 3)
= "=" (33, 9)
" "\"" (33, 11)
STR "unit" (33, 12)
" "\"" (33, 16)
; ";" (33, 17)
ID "src" (35, 3)
= "=" (35, 7)
ID "fetchFromGitHub" (35, 9)
{ "{" (35, 25)
ID "owner" (36, 5)
= "=" (36, 11)
" "\"" (36, 13)
STR "nginx" (36, 14)
" "\"" (36, 19)
; ";" (36, 20)
ID "repo" (37, 5)
= "=" (37, 10)
ID "pname" (37, 12)
; ";" (37, 17)
ID "rev" (38, 5)
= "=" (38, 9)
ID "version" (38, 11)
; ";" (38, 18)
ID "sha256" (39, 5)
= "=" (39, 12)
" "\"" (39, 14)
STR "sha256-rTT7EJSHepGOwNXVqlOBOhZayZQXyNo3B2Oa1oLf2FI=" (39, 15)
" "\"" (39, 66)
; ";" (39, 67)
} "}" (40, 3)
; ";" (40, 4)
ID "nativeBuildInputs" (42, 3)
= "=" (42, 21)
[ "[" (42, 23)
ID "which" (42, 25)
] "]" (42, 31)
; ";" (42, 32)
ID "buildInputs" (44, 3)
= "=" (44, 15)
[ "[" (44, 17)
ID "pcre2" (44, 19)
. "." (44, 24)
ID "dev" (44, 25)
] "]" (44, 29)
CONCAT "++" (45, 5)
ID "optional" (45, 8)
ID "withPython2" (45, 17)
ID "python2" (45, 29)
CONCAT "++" (46, 5)
ID "optionals" (46, 8)
ID "withPython3" (46, 18)
[ "[" (46, 30)
ID "python3" (46, 32)
ID "ncurses" (46, 40)
] "]" (46, 48)
CONCAT "++" (47, 5)
ID "optional" (47, 8)
ID "withPHP74" (47, 17)
ID "php74-unit" (47, 27)
CONCAT "++" (48, 5)
ID "optional" (48, 8)
ID "withPHP80" (48, 17)
ID "php80-unit" (48, 27)
CONCAT "++" (49, 5)
ID "optional" (49, 8)
ID "withPerl532" (49, 17)
ID "perl532" (49, 29)
CONCAT "++" (50, 5)
ID "optional" (50, 8)
ID "withPerl534" (50, 17)
ID "perl534" (50, 29)
CONCAT "++" (51, 5)
ID "optional" (51, 8)
ID "withPerldevel" (51, 17)
ID "perldevel" (51, 31)
CONCAT "++" (52, 5)
ID "optional" (52, 8)
ID "withRuby_2_7" (52, 17)
ID "ruby_2_7" (52, 30)
CONCAT "++" (53, 5)
ID "optional" (53, 8)
ID "withSSL" (53, 17)
ID "openssl" (53, 25)
; ";" (53, 32)
ID "configureFlags" (55, 3)
= "=" (55, 18)
[ "[" (55, 20)
" "\"" (56, 5)
STR "--control=unix:/run/unit/control.unit.sock" (56, 6)
" "\"" (56, 48)
" "\"" (57, 5)
STR "--pid=/run/unit/unit.pid" (57, 6)
" "\"" (57, 30)
" "\"" (58, 5)
STR "--user=unit" (58, 6)
" "\"" (58, 17)
" "\"" (59, 5)
STR "--group=unit" (59, 6)
" "\"" (59, 18)
] "]" (60, 3)
CONCAT "++" (60, 5)
ID "optional" (60, 8)
ID "withSSL" (60, 17)
" "\"" (60, 29)
STR "--openssl" (60, 30)
" "\"" (60, 39)
CONCAT "++" (61, 5)
ID "optional" (61, 8)
( "(" (61, 17)
! "!" (61, 18)
ID "withIPv6" (61, 19)
) ")" (61, 27)
" "\"" (61, 29)
STR "--no-ipv6" (61, 30)
" "\"" (61, 39)
CONCAT "++" (62, 5)
ID "optional" (62, 8)
ID "withDebug" (62, 17)
" "\"" (62, 29)
STR "--debug" (62, 30)
" "\"" (62, 37)
; ";" (62, 38)
ID "usedPhp74" (65, 3)
= "=" (65, 13)
ID "optionals" (65, 15)
ID "withPHP74" (65, 25)
ID "php74-unit" (65, 35)
; ";" (65, 45)
ID "usedPhp80" (66, 3)
= "=" (66, 13)
ID "optionals" (66, 15)
ID "withPHP80" (66, 25)
ID "php80-unit" (66, 35)
; ";" (66, 45)
ID "postConfigure" (68, 3)
= "=" (68, 17)
IND_STRING_OPEN "''\n" (68, 19)
IND_STR "    " (69, 1)
DOLLAR_CURLY "${" (69, 5)
ID "optionalString" (69, 7)
ID "withPython2" (69, 22)
" "\"" (69, 37)
STR "./configure python --module=python2  --config=python2-config  --lib-path=" (69, 38)
DOLLAR_CURLY "${" (69, 111)
ID "python2" (69, 113)
} "}" (69, 120)
STR "/lib" (69, 121)
" "\"" (69, 125)
} "}" (69, 126)
IND_STR "\n    " (69, 127)
DOLLAR_CURLY "${" (70, 5)
ID "optionalString" (70, 7)
ID "withPython3" (70, 22)
" "\"" (70, 37)
STR "./configure python --module=python3  --config=python3-config  --lib-path=" (70, 38)
DOLLAR_CURLY "${" (70, 111)
ID "python3" (70, 113)
} "}" (70, 120)
STR "/lib" (70, 121)
" "\"" (70, 125)
} "}" (70, 126)
IND_STR "\n    " (70, 127)
DOLLAR_CURLY "${" (71, 5)
ID "optionalString" (71, 7)
ID "withPHP74" (71, 22)
" "\"" (71, 37)
STR "./configure php    --module=php74    --config=" (71, 38)
DOLLAR_CURLY "${" (71, 84)
ID "php74-unit" (71, 86)
. "." (71, 96)
ID "unwrapped" (71, 97)
. "." (71, 106)
ID "dev" (71, 107)
} "}" (71, 110)
STR "/bin/php-config --lib-path=" (71, 111)
DOLLAR_CURLY "${" (71, 138)
ID "php74-unit" (71, 140)
} "}" (71, 150)
STR "/lib" (71, 151)
" "\"" (71, 155)
} "}" (71, 156)
IND_STR "\n    " (71, 157)
DOLLAR_CURLY "${" (72, 5)
ID "optionalString" (72, 7)
ID "withPHP80" (72, 22)
" "\"" (72, 37)
STR "./configure php    --module=php80    --config=" (72, 38)
DOLLAR_CURLY "${" (72, 84)
ID "php80-unit" (72, 86)
. "." (72, 96)
ID "unwrapped" (72, 97)
. "." (72, 106)
ID "dev" (72, 107)
} "}" (72, 110)
STR "/bin/php-config --lib-path=" (72, 111)
DOLLAR_CURLY "${" (72, 138)
ID "php80-unit" (72, 140)
} "}" (72, 150)
STR "/lib" (72, 151)
" "\"" (72, 155)
} "}" (72, 156)
IND_STR "\n    " (72, 157)
DOLLAR_CURLY "${" (73, 5)
ID "optionalString" (73, 7)
ID "withPerl532" (73, 22)
" "\"" (73, 37)
STR "./configure perl   --module=perl532  --perl=" (73, 38)
DOLLAR_CURLY "${" (73, 82)
ID "perl532" (73, 84)
} "}" (73, 91)
STR "/bin/perl" (73, 92)
" "\"" (73, 101)
} "}" (73, 102)
IND_STR "\n    " (73, 103)
DOLLAR_CURLY "${" (74, 5)
ID "optionalString" (74, 7)
ID "withPerl534" (74, 22)
" "\"" (74, 37)
STR "./configure perl   --module=perl534  --perl=" (74, 38)
DOLLAR_CURLY "${" (74, 82)
ID "perl534" (74, 84)
} "}" (74, 91)
STR "/bin/perl" (74, 92)
" "\"" (74, 101)
} "}" (74, 102)
IND_STR "\n    " (74, 103)
DOLLAR_CURLY "${" (75, 5)
ID "optionalString" (75, 7)
ID "withPerldevel" (75, 22)
" "\"" (75, 37)
STR "./configure perl   --module=perldev  --perl=" (75, 38)
DOLLAR_CURLY "${" (75, 82)
ID "perldevel" (75, 84)
} "}" (75, 93)
STR "/bin/perl" (75, 94)
" "\"" (75, 103)
} "}" (75, 104)
IND_STR "\n    " (75, 105)
DOLLAR_CURLY "${" (76, 5)
ID "optionalString" (76, 7)
ID "withRuby_2_7" (76, 22)
" "\"" (76, 37)
STR "./configure ruby   --module=ruby27   --ruby=" (76, 38)
DOLLAR_CURLY "${" (76, 82)
ID "ruby_2_7" (76, 84)
} "}" (76, 92)
STR "/bin/ruby" (76, 93)
" "\"" (76, 102)
} "}" (76, 103)
IND_STR "\n  " (76, 104)
IND_STRING_CLOSE "''" (77, 3)
; ";" (77, 5)
ID "passthru" (79, 3)
. "." (79, 11)
ID "tests" (79, 12)
. "." (79, 17)
ID "unit-php" (79, 18)
= "=" (79, 27)
ID "nixosTests" (79, 29)
. "." (79, 39)
ID "unit-php" (79, 40)
; ";" (79, 48)
ID "meta" (81, 3)
= "=" (81, 8)
{ "{" (81, 10)
ID "description" (82, 5)
= "=" (82, 17)
" "\"" (82, 19)
STR "Dynamic web and application server, designed to run applications in multiple languages" (82, 20)
" "\"" (82, 106)
; ";" (82, 107)
ID "homepage" (83, 5)
= "=" (83, 17)
" "\"" (83, 19)
STR "https://unit.nginx.org/" (83, 20)
" "\"" (83, 43)
; ";" (83, 44)
ID "license" (84, 5)
= "=" (84, 17)
ID "licenses" (84, 19)
. "." (84, 27)
ID "asl20" (84, 28)
; ";" (84, 33)
ID "platforms" (85, 5)
= "=" (85, 17)
ID "platforms" (85, 19)
. "." (85, 28)
ID "linux" (85, 29)
; ";" (85, 34)
ID "maintainers" (86, 5)
= "=" (86, 17)
WITH "with" (86, 19)
ID "maintainers" (86, 24)
; ";" (86, 35)
[ "[" (86, 37)
ID "izorkin" (86, 39)
] "]" (86, 47)
; ";" (86, 48)
} "}" (87, 3)
; ";" (87, 4)
} "}" (88, 1)