Ruby: 2.1.3 and Fiddle support

This packages Ruby 2.1.3, and adds Fiddle support for all 2.x versions.

closes #4656
This commit is contained in:
Charles Strahan
2014-10-26 04:48:09 +00:00
parent d696f56324
commit 7231b95f4f
7 changed files with 126 additions and 3 deletions
@@ -5,6 +5,7 @@
, ncurses, readline, cursesSupport ? false
, groff, docSupport ? false
, libyaml, yamlSupport ? true
, libffi, fiddleSupport ? true
, ruby_2_1_2, autoreconfHook, bison, useRailsExpress ? true
}:
@@ -35,6 +36,7 @@ stdenv.mkDerivation rec {
NROFF = "${groff}/bin/nroff";
buildInputs = ops useRailsExpress [ autoreconfHook bison ]
++ (op fiddleSupport libffi)
++ (ops cursesSupport [ ncurses readline ] )
++ (op docSupport groff )
++ (op zlibSupport zlib)