ruby_3_0: drop

Ruby EOL is 31 March 2024, that is, during NixOS 23.11.
We drop it early now to avoid any problem during the release time.

-25
-18
pkgs/development/interpreters/ruby/default.nix
··· 15 15 config = import ./config.nix { inherit fetchFromSavannah; }; 16 16 rubygems = import ./rubygems { inherit stdenv lib fetchurl; }; 17 17 18 - openssl3Gem = fetchFromGitHub { 19 - owner = "ruby"; 20 - repo = "openssl"; 21 - rev = "v3.0.2"; 22 - hash = "sha256-KhuKRP1JkMJv7CagGRQ0KKGOd5Oh0FP0fbj0VZ4utGo="; 23 - }; 24 - 25 18 # Contains the ruby version heuristics 26 19 rubyVersion = import ./ruby-version.nix { inherit lib; }; 27 20 ··· 156 149 rm -rf $sourceRoot/{lib,test}/rubygems* 157 150 cp -r ${rubygems}/lib/rubygems* $sourceRoot/lib 158 151 cp -r ${rubygems}/test/rubygems $sourceRoot/test 159 - '' + opString (ver.majMin == "3.0" && opensslSupport) '' 160 - # Replace the Gem by a OpenSSL3-compatible one. 161 - echo "Hotpatching the OpenSSL gem with a 3.x series for OpenSSL 3 support..." 162 - cp -vr ${openssl3Gem}/ext/openssl $sourceRoot/ext/ 163 - cp -vr ${openssl3Gem}/lib/ $sourceRoot/ext/openssl/ 164 - cp -vr ${openssl3Gem}/{History.md,openssl.gemspec} $sourceRoot/ext/openssl/ 165 152 ''; 166 153 167 154 postPatch = '' ··· 332 319 ruby_2_7 = generic { 333 320 version = rubyVersion "2" "7" "8" ""; 334 321 sha256 = "sha256-wtq2PLyPKgVSYQitQZ76Y6Z+1AdNu8+fwrHKZky0W6A="; 335 - }; 336 - 337 - ruby_3_0 = generic { 338 - version = rubyVersion "3" "0" "6" ""; 339 - sha256 = "sha256-bmy9SQAw15EMD/IO3vq0KU380QRvD49H94tZeYesaD4="; 340 322 }; 341 323 342 324 ruby_3_1 = generic {
-2
pkgs/top-level/all-packages.nix
··· 18046 18046 mkRubyVersion 18047 18047 mkRuby 18048 18048 ruby_2_7 18049 - ruby_3_0 18050 18049 ruby_3_1 18051 18050 ruby_3_2 18052 18051 ruby_3_3; ··· 18055 18054 rubyPackages = rubyPackages_3_1; 18056 18055 18057 18056 rubyPackages_2_7 = recurseIntoAttrs ruby_2_7.gems; 18058 - rubyPackages_3_0 = recurseIntoAttrs ruby_3_0.gems; 18059 18057 rubyPackages_3_1 = recurseIntoAttrs ruby_3_1.gems; 18060 18058 rubyPackages_3_2 = recurseIntoAttrs ruby_3_2.gems; 18061 18059 rubyPackages_3_3 = recurseIntoAttrs ruby_3_3.gems;
-5
pkgs/top-level/pkg-config/pkg-config-data.json
··· 773 773 "ruby_2_7" 774 774 ] 775 775 }, 776 - "ruby-3.0": { 777 - "attrPath": [ 778 - "ruby_3_0" 779 - ] 780 - }, 781 776 "ruby-3.1": { 782 777 "attrPath": [ 783 778 "ruby_3_1"