@@ -32,14 +32,14 @@ let
32 php74-unit = php74.override phpConfig;
32 php74-unit = php74.override phpConfig;
34in stdenv.mkDerivation rec {
34in stdenv.mkDerivation rec {
35− version = "1.17.0";
35+ version = "1.18.0";
36 pname = "unit";
36 pname = "unit";
38 src = fetchFromGitHub {
38 src = fetchFromGitHub {
39 owner = "nginx";
39 owner = "nginx";
40 repo = "unit";
40 repo = "unit";
41 rev = version;
41 rev = version;
42− sha256 = "1q3659vw8rxv4fk7ljkjav8ga72sb3arljfxcqw8b080f9hvi7hh";
42+ sha256 = "0r2l3ra63qjjbpjzrmx75jp9fvz83yis4j3qxqdnmxm77psykwy8";
45 nativeBuildInputs = [ which ];
45 nativeBuildInputs = [ which ];
@@ -49,7 +49,7 @@ in stdenv.mkDerivation rec {
49 ++ optionals withPython3 [ python3 ncurses ]
49 ++ optionals withPython3 [ python3 ncurses ]
50 ++ optional withPHP72 php72-unit
50 ++ optional withPHP72 php72-unit
51 ++ optional withPHP73 php73-unit
51 ++ optional withPHP73 php73-unit
52− ++ optional withPHP73 php74-unit
52+ ++ optional withPHP74 php74-unit
53 ++ optional withPerl528 perl528
53 ++ optional withPerl528 perl528
54 ++ optional withPerl530 perl530
54 ++ optional withPerl530 perl530
55 ++ optional withPerldevel perldevel
55 ++ optional withPerldevel perldevel
@@ -68,8 +68,8 @@ in stdenv.mkDerivation rec {
68 ++ optional withDebug "--debug";
68 ++ optional withDebug "--debug";
70 postConfigure = ''
70 postConfigure = ''
71− ${optionalString withPython2 "./configure python --module=python2 --config=${python2}/bin/python2-config --lib-path=${python2}/lib"}
71+ ${optionalString withPython2 "./configure python --module=python2 --config=python2-config --lib-path=${python2}/lib"}
72− ${optionalString withPython3 "./configure python --module=python3 --config=${python3}/bin/python3-config --lib-path=${python3}/lib"}
72+ ${optionalString withPython3 "./configure python --module=python3 --config=python3-config --lib-path=${python3}/lib"}
73 ${optionalString withPHP72 "./configure php --module=php72 --config=${php72-unit.unwrapped.dev}/bin/php-config --lib-path=${php72-unit}/lib"}
73 ${optionalString withPHP72 "./configure php --module=php72 --config=${php72-unit.unwrapped.dev}/bin/php-config --lib-path=${php72-unit}/lib"}
74 ${optionalString withPHP73 "./configure php --module=php73 --config=${php73-unit.unwrapped.dev}/bin/php-config --lib-path=${php73-unit}/lib"}
74 ${optionalString withPHP73 "./configure php --module=php73 --config=${php73-unit.unwrapped.dev}/bin/php-config --lib-path=${php73-unit}/lib"}
75 ${optionalString withPHP74 "./configure php --module=php74 --config=${php74-unit.unwrapped.dev}/bin/php-config --lib-path=${php74-unit}/lib"}
75 ${optionalString withPHP74 "./configure php --module=php74 --config=${php74-unit.unwrapped.dev}/bin/php-config --lib-path=${php74-unit}/lib"}