1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00

Merge pull request #25739 from pekhee/feature/fix_rainbox_gem_deps

ruby-modules gem-config: add rainbow
This commit is contained in:
Jörg Thalheim 2017-05-20 17:26:49 +01:00 committed by GitHub
commit aa64d8174b

View file

@ -21,11 +21,20 @@
, libiconv, postgresql, v8_3_16_14, clang, sqlite, zlib, imagemagick
, pkgconfig , ncurses, xapian_1_2_22, gpgme, utillinux, fetchpatch, tzdata, icu, libffi
, cmake, libssh2, openssl, mysql, darwin, git, perl, gecode_3, curl
, libmsgpack, qt48, libsodium, snappy, libossp_uuid, lxc, libpcap
, libmsgpack, qt48, libsodium, snappy, libossp_uuid, lxc, libpcap, buildRubyGem
}@args:
let
v8 = v8_3_16_14;
rainbow_rake = buildRubyGem {
name = "rake";
gemName = "rake";
remotes = ["https://rubygems.org"];
sha256 = "01j8fc9bqjnrsxbppncai05h43315vmz9fwg28qdsgcjw9ck1d7n";
type = "gem";
version = "12.0.0";
};
in
{
@ -149,6 +158,10 @@ in
buildInputs = [ openssl ];
};
rainbow = attrs: {
buildInputs = [ rainbow_rake ];
};
rbnacl = spec: {
postInstall = ''
sed -i $(cat $out/nix-support/gem-meta/install-path)/lib/rbnacl.rb -e "2a \