unit: drop Ruby 3.0 support

Ruby 3.0 will be removed from nixpkgs.
This commit is contained in:
Raito Bezarius 2023-10-30 15:11:45 +01:00
parent 2e7b72c52f
commit 0a1bc8a2d2

View File

@ -5,7 +5,6 @@
, withPHP82 ? false, php82
, withPerl536 ? false, perl536
, withPerl538 ? true, perl538
, withRuby_3_0 ? false, ruby_3_0
, withRuby_3_1 ? true, ruby_3_1
, withRuby_3_2 ? false, ruby_3_2
, withSSL ? true, openssl ? null
@ -47,7 +46,6 @@ in stdenv.mkDerivation rec {
++ optional withPHP82 php82-unit
++ optional withPerl536 perl536
++ optional withPerl538 perl538
++ optional withRuby_3_0 ruby_3_0
++ optional withRuby_3_1 ruby_3_1
++ optional withRuby_3_2 ruby_3_2
++ optional withSSL openssl;
@ -70,7 +68,6 @@ in stdenv.mkDerivation rec {
${optionalString withPHP82 "./configure php --module=php81 --config=${php82-unit.unwrapped.dev}/bin/php-config --lib-path=${php82-unit}/lib"}
${optionalString withPerl536 "./configure perl --module=perl536 --perl=${perl536}/bin/perl"}
${optionalString withPerl538 "./configure perl --module=perl538 --perl=${perl538}/bin/perl"}
${optionalString withRuby_3_0 "./configure ruby --module=ruby30 --ruby=${ruby_3_0}/bin/ruby"}
${optionalString withRuby_3_1 "./configure ruby --module=ruby31 --ruby=${ruby_3_1}/bin/ruby"}
${optionalString withRuby_3_2 "./configure ruby --module=ruby32 --ruby=${ruby_3_2}/bin/ruby"}
'';