git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #39928 from manveru/update-ruby

Ruby: 2.3.6 -> 2.3.7, 2.4.3 -> 2.4.4, 2.5.0 -> 2.5.1

commitb5968f2690204484fb2cb63a8580761a0a236073 authorDaiderd Jordan <daiderd@gmail.com> dateFri 4 May 2018, 22:34 (9 years ago) parentb5e558b814938a
3 files changed+23−21
pkgs/development/interpreters/ruby/default.nix+16−17 pkgs/development/interpreters/ruby/patchsets.nix+3−3 pkgs/top-level/all-packages.nix+4−1
pkgs/development/interpreters/ruby/default.nix+16−17
@@ -1,8 +1,8 @@
11{ stdenv, buildPackages, lib
22, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
33, zlib, openssl, gdbm, ncurses, readline, groff, libyaml, libffi, autoreconfHook, bison
4−, autoconf, darwin ? null
5−, buildEnv, bundler, bundix, Foundation
4+, autoconf, libiconv, libobjc, libunwind, Foundation
5+, buildEnv, bundler, bundix
66} @ args:
77
88let
@@ -37,7 +37,7 @@ let
3737 isRuby25 = ver.majMin == "2.5";
3838 baseruby = self.override { useRailsExpress = false; };
3939 self = lib.makeOverridable (
40− { stdenv, buildPackages, lib
40+ { stdenv, buildPackages, lib
4141 , fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
4242 , useRailsExpress ? true
4343 , zlib, zlibSupport ? true
@@ -48,8 +48,8 @@ let
4848 , libyaml, yamlSupport ? true
4949 , libffi, fiddleSupport ? true
5050 , autoreconfHook, bison, autoconf
51− , darwin ? null
52− , buildEnv, bundler, bundix, Foundation
51+ , buildEnv, bundler, bundix
52+ , libiconv, libobjc, libunwind, Foundation
5353 }:
5454 let rubySrc =
5555 if useRailsExpress then fetchFromGitHub {
@@ -93,9 +93,8 @@ let
9393 # support is not enabled, so add readline to the build inputs if curses
9494 # support is disabled (if it's enabled, we already have it) and we're
9595 # running on darwin
96− ++ (op (!cursesSupport && stdenv.isDarwin) readline)
97− ++ (op (isRuby25 && stdenv.isDarwin) Foundation)
98− ++ (ops stdenv.isDarwin (with darwin; [ libiconv libobjc libunwind ]));
96+ ++ op (!cursesSupport && stdenv.isDarwin) readline
97+ ++ ops stdenv.isDarwin [ libiconv libobjc libunwind Foundation ];
9998
10099 enableParallelBuilding = true;
101100
@@ -200,26 +199,26 @@ let
200199
201200in {
202201 ruby_2_3 = generic {
203− version = rubyVersion "2" "3" "6" "";
202+ version = rubyVersion "2" "3" "7" "";
204203 sha256 = {
205− src = "07jpa7fw1gyf069m7alf2b0zm53qm08w2ns45mhzmvgrg4r528l3";
206− git = "1bk59i0ygdc5z3zz3k6indfrxd2ix55np6rwvkcdpdw8svm749ds";
204+ src = "0zvx5kdp1frjs9n95n7ba7dy0alax33wi3nj8034m3ppvnf39k9m";
205+ git = "11wbzw2ywwfnvlkg3qjg0as2pzk5zyk63y2iis42d91lg1l2flrk";
207206 };
208207 };
209208
210209 ruby_2_4 = generic {
211− version = rubyVersion "2" "4" "3" "";
210+ version = rubyVersion "2" "4" "4" "";
212211 sha256 = {
213− src = "161smb52q19r9lrzy22b3bhnkd0z8wjffm0qsfkml14j5ic7a0zx";
214− git = "0x2lqbqm2rq9j5zh1p72dma56nqvdkfbgzb9wybm4y4hwhiw8c1m";
212+ src = "0nmfr2lijik6cykk0zbj11zcapcrvmdvq83k3r6q3k74g4d1qkr5";
213+ git = "103cs7hz1v0h84lbrippl87s4lawi20m406rs5dgxl2gr2wyjpy5";
215214 };
216215 };
217216
218217 ruby_2_5 = generic {
219− version = rubyVersion "2" "5" "0" "";
218+ version = rubyVersion "2" "5" "1" "";
220219 sha256 = {
221− src = "1azj0d2lzziw6iml7bx3sxpxzcdmfwfq3yhm7djyp20q1xiz7rj6";
222− git = "0d436nqmp3ykdkp4sck5bb8sf3qvx30x1p58xh8axv66mvsyc2jd";
220+ src = "1c99k0fjaq7k09104h1b1cqx6mrk2b14ic1jjnxc6yav68i1ij6s";
221+ git = "1j0fd16aq9x98n0kq9c3kfp2sh6xcsq8q4733p0wfqjh3vz50kyj";
223222 };
224223 };
225224}
pkgs/development/interpreters/ruby/patchsets.nix+3−3
@@ -6,17 +6,17 @@ rec {
66 "${patchSet}/patches/ruby/2.2/head/railsexpress/02-improve-gc-stats.patch"
77 "${patchSet}/patches/ruby/2.2/head/railsexpress/03-display-more-detailed-stack-trace.patch"
88 ];
9− "2.3.6" = ops useRailsExpress [
9+ "2.3.7" = ops useRailsExpress [
1010 "${patchSet}/patches/ruby/2.3/head/railsexpress/01-skip-broken-tests.patch"
1111 "${patchSet}/patches/ruby/2.3/head/railsexpress/02-improve-gc-stats.patch"
1212 "${patchSet}/patches/ruby/2.3/head/railsexpress/03-display-more-detailed-stack-trace.patch"
1313 ];
14− "2.4.3" = ops useRailsExpress [
14+ "2.4.4" = ops useRailsExpress [
1515 "${patchSet}/patches/ruby/2.4/head/railsexpress/01-skip-broken-tests.patch"
1616 "${patchSet}/patches/ruby/2.4/head/railsexpress/02-improve-gc-stats.patch"
1717 "${patchSet}/patches/ruby/2.4/head/railsexpress/03-display-more-detailed-stack-trace.patch"
1818 ];
19− "2.5.0" = ops useRailsExpress [
19+ "2.5.1" = ops useRailsExpress [
2020 "${patchSet}/patches/ruby/2.5/head/railsexpress/01-fix-broken-tests-caused-by-ad.patch"
2121 "${patchSet}/patches/ruby/2.5/head/railsexpress/02-improve-gc-stats.patch"
2222 "${patchSet}/patches/ruby/2.5/head/railsexpress/03-more-detailed-stacktrace.patch"
pkgs/top-level/all-packages.nix+4−1
@@ -7368,7 +7368,10 @@ with pkgs;
73687368 bundlerEnv = callPackage ../development/ruby-modules/bundler-env { };
73697369 bundlerApp = callPackage ../development/ruby-modules/bundler-app { };
73707370
7371− inherit (callPackage ../development/interpreters/ruby { inherit (darwin.apple_sdk.frameworks) Foundation; })
7371+ inherit (callPackage ../development/interpreters/ruby {
7372+ inherit (darwin) libiconv libobjc libunwind;
7373+ inherit (darwin.apple_sdk.frameworks) Foundation;
7374+ })
73727375 ruby_2_3
73737376 ruby_2_4
73747377 ruby_2_5;