ruby/patches.nix: sort attributes alphabetically

And remove trailing whitespace.
This commit is contained in:
Bjørn Forsman 2014-02-01 19:56:54 +01:00
parent 40f202e4a0
commit f0be5119d9

View file

@ -14,6 +14,25 @@ let
in in
{ {
buildr = {
# Many Buildfiles rely on RUBYLIB containing the current directory
# (as was the default in Ruby < 1.9.2).
extraWrapperFlags = "--prefix RUBYLIB : .";
};
fakes3 = {
postInstall = ''
cd $out/${ruby.gemPath}/gems/*
patch -Np1 -i ${../../ruby-modules/fake-s3-list-bucket.patch}
'';
};
ffi = {
postUnpack = "onetuh";
buildFlags = ["--with-ffi-dir=${libffi}"];
NIX_POST_EXTRACT_FILES_HOOK = patchUsrBinEnv;
};
iconv = { buildInputs = [ libiconvOrEmpty ]; }; iconv = { buildInputs = [ libiconvOrEmpty ]; };
libv8 = { libv8 = {
@ -49,12 +68,10 @@ in
''; '';
}; };
sqlite3 = { propagatedBuildInputs = [ sqlite ]; };
rails = { gemFlags = "--no-ri --no-rdoc"; };
ncurses = { propagatedBuildInputs = [ ncurses ]; }; ncurses = { propagatedBuildInputs = [ ncurses ]; };
ncursesw = { propagatedBuildInputs = [ ncurses ]; };
nix = { nix = {
postInstall = '' postInstall = ''
cd $out/${ruby.gemPath}/gems/nix* cd $out/${ruby.gemPath}/gems/nix*
@ -62,8 +79,6 @@ in
''; '';
}; };
ncursesw = { propagatedBuildInputs = [ ncurses ]; };
nokogiri = { nokogiri = {
buildFlags = buildFlags =
[ "--with-xml2-dir=${libxml2} --with-xml2-include=${libxml2}/include/libxml2" [ "--with-xml2-dir=${libxml2} --with-xml2-include=${libxml2}/include/libxml2"
@ -71,10 +86,13 @@ in
]; ];
}; };
ffi = { pry = { gemFlags = "--no-ri --no-rdoc"; };
postUnpack = "onetuh";
buildFlags = ["--with-ffi-dir=${libffi}"]; rails = { gemFlags = "--no-ri --no-rdoc"; };
NIX_POST_EXTRACT_FILES_HOOK = patchUsrBinEnv;
rjb = {
buildInputs = [ jdk ];
JAVA_HOME = jdk;
}; };
rmagick = { rmagick = {
@ -83,6 +101,21 @@ in
NIX_CFLAGS_COMPILE = "-I${imagemagick}/include/ImageMagick-6"; NIX_CFLAGS_COMPILE = "-I${imagemagick}/include/ImageMagick-6";
}; };
sqlite3 = { propagatedBuildInputs = [ sqlite ]; };
xapian_full = {
buildInputs = [ gems.rake zlib libuuid ];
gemFlags = "--no-rdoc --no-ri";
};
xapian_full_alaveteli = {
buildInputs = [ zlib libuuid ];
};
xapian_ruby = {
buildInputs = [ zlib libuuid ];
};
xrefresh_server = xrefresh_server =
let let
patch = fetchurl { patch = fetchurl {
@ -98,37 +131,4 @@ in
zcat ${patch} | patch -p 1 zcat ${patch} | patch -p 1
''; # */ ''; # */
}; };
xapian_full = {
buildInputs = [ gems.rake zlib libuuid ];
gemFlags = "--no-rdoc --no-ri";
};
xapian_full_alaveteli = {
buildInputs = [ zlib libuuid ];
};
xapian_ruby = {
buildInputs = [ zlib libuuid ];
};
rjb = {
buildInputs = [ jdk ];
JAVA_HOME = jdk;
};
buildr = {
# Many Buildfiles rely on RUBYLIB containing the current directory
# (as was the default in Ruby < 1.9.2).
extraWrapperFlags = "--prefix RUBYLIB : .";
};
pry = { gemFlags = "--no-ri --no-rdoc"; };
fakes3 = {
postInstall = ''
cd $out/${ruby.gemPath}/gems/*
patch -Np1 -i ${../../ruby-modules/fake-s3-list-bucket.patch}
'';
};
} }