Commit Graph

317 Commits

Author SHA1 Message Date
Charles Strahan
cf8f4963a7 rename rubyLibs to rubyPackages 2014-11-09 22:16:58 +00:00
Charles Strahan
2b0750f87a passthru ruby, make stdenv overridable 2014-11-09 21:31:48 +00:00
Charles Strahan
2a3f2cfce8 add path fetcher 2014-11-08 23:46:34 +00:00
James Cook
576092eec4 Revert "ruby: Fix build on systems with store optimisation. Closes #4273. #4266 promises a better fix."
This reverts commit d2c0011c2f.

c04e492898 gives a cleaner solution that's
not specific to ruby.
2014-11-06 09:22:20 -08:00
Eelco Dolstra
0518ccf5af Merge remote-tracking branch 'origin/master' into staging
Conflicts:
	pkgs/stdenv/generic/default.nix
2014-11-06 10:16:39 +01:00
Mateusz Kowalczyk
007f80c1d0 Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
2014-11-06 00:48:16 +00:00
Eelco Dolstra
7495c61d49 Merge remote-tracking branch 'origin/darwin-clang-stdenv' into staging
Conflicts:
	pkgs/applications/editors/vim/macvim.nix
2014-11-04 14:30:43 +01:00
Charles Strahan
e1c40a679c fix gem builder 2014-11-02 22:05:37 +00:00
Charles Strahan
143698555a add documentation 2014-10-31 02:03:37 +00:00
Charles Strahan
3eeabc4523 more cleanup 2014-10-31 01:44:57 +00:00
Charles Strahan
845fed122a various fixes 2014-10-29 23:14:19 +00:00
Charles Strahan
d5b3a6d508 update fixes 2014-10-29 01:16:02 +00:00
Charles Strahan
e4a2a7e73e simplification / refactoring 2014-10-28 04:16:14 +00:00
Charles Strahan
857f017a0d misc. cleanup 2014-10-28 01:22:17 +00:00
Charles Strahan
1eb31c0838 remove old stuff 2014-10-27 22:36:00 +00:00
Charles Strahan
9eedf0f218 simplify expressions 2014-10-27 22:13:36 +00:00
Alexander Flatter
b4c81a1f15 importGems now accepts an attrset 2014-10-27 21:55:13 +00:00
Alexander Flatter
5b928301c1 Expose gems when using loadRubyEnv 2014-10-27 21:55:12 +00:00
Alexander Flatter
4d3932a29e loadRubyEnv instantiates sources 2014-10-27 21:55:12 +00:00
Alexander Flatter
2cb31d576a Improve buildRubyGem 2014-10-27 21:55:12 +00:00
Alexander Flatter
f4d5fa4da6 importGems doesn't crash if gemOverrides not given 2014-10-27 21:55:12 +00:00
Alexander Flatter
3b59fbd608 WIP 2014-10-27 21:55:12 +00:00
Alexander Flatter
c786da0569 importGems now reads attrsets instead of derivations 2014-10-27 21:55:12 +00:00
Charles Strahan
3e499b7b65 silence rm failures 2014-10-27 21:55:12 +00:00
Charles Strahan
6863853879 fixup gem install flags 2014-10-27 21:55:12 +00:00
Charles Strahan
11903c4c10 ruby: expose RUBY_ENGINE, include teeny version in paths 2014-10-27 21:55:11 +00:00
Joel Taylor
c05e0602ca fix self refs 2014-10-27 21:55:11 +00:00
Joel Taylor
0ee5695bd4 properly fix patching 2014-10-27 21:55:11 +00:00
Joel Taylor
efa528a415 also recursively patch "self" 2014-10-27 21:55:11 +00:00
Joel Taylor
e5783d017d don't forget: patch gems in gems.nix too! 2014-10-27 21:55:11 +00:00
Joel Taylor
820ae58ba5 inherit the correct rake in buildRubyGem
this avoids accidentally depending on Ruby 1.9.3's rake for *every* gem
2014-10-27 21:55:11 +00:00
Joel Taylor
8c072a33a1 update patch comments 2014-10-27 21:55:11 +00:00
Joel Taylor
020b204767 remove depsPath 2014-10-27 21:55:11 +00:00
Joel Taylor
4a5e725a00 patch logic 2014-10-27 21:55:10 +00:00
Joel Taylor
9c8c4c8655 reorder gem phases 2014-10-27 21:55:10 +00:00
Joel Taylor
05238cd353 call patches with the right nix 2014-10-27 21:55:10 +00:00
Joel Taylor
f14f73da76 ruby updates 2014-10-27 21:55:04 +00:00
Joel Taylor
081343f099 gem build updates 2014-10-26 17:34:52 +00:00
Joel Taylor
763975d2cf ruby-dotenv 2014-10-26 17:34:52 +00:00
Joel Taylor
37640cca9f terminal-notifier 2014-10-26 17:34:52 +00:00
Joel Taylor
321ee119a8 more gem improvements 2014-10-26 17:34:52 +00:00
Joel Taylor
289b7e5068 further improvements to patches and build process 2014-10-26 17:34:52 +00:00
Joel Taylor
2dedbe6bbe correctly implement patching 2014-10-26 17:34:10 +00:00
Joel Taylor
1edaff1a2a include patches 2014-10-26 17:34:10 +00:00
Joel Taylor
c694425a03 allow importGems to override cp args 2014-10-26 17:34:10 +00:00
Joel Taylor
e9328fa7c3 stop using gross dependency resolution 2014-10-26 17:34:10 +00:00
Joel Taylor
3026d8833d add libs to GEM_PATH 2014-10-26 17:34:10 +00:00
Joel Taylor
cfff6e8c82 some improvements 2014-10-26 17:34:10 +00:00
Joel Taylor
794740b7e3 pleasant ruby 2014-10-26 17:34:10 +00:00
Charles Strahan
7231b95f4f Ruby: 2.1.3 and Fiddle support
This packages Ruby 2.1.3, and adds Fiddle support for all 2.x versions.

closes #4656
2014-10-26 04:48:09 +00:00
James Cook
d2c0011c2f ruby: Fix build on systems with store optimisation. Closes #4273. #4266 promises a better fix.
(The build process attempted to copy file a overwriting file b, where a
and b are hard-linked, which results in cp returning a non-zero exit
code.)
https://github.com/NixOS/nixpkgs/issues/4266
2014-10-25 06:13:16 +03:00
Eelco Dolstra
811de3bfaa Merge remote-tracking branch 'origin/staging' into darwin-clang-stdenv
Conflicts:
	pkgs/tools/security/gnupg/default.nix
2014-10-09 10:57:57 +02:00
Eelco Dolstra
cd71f7a2e6 Merge branch 'darwin-stdenv' of github.com:joelteon/nixpkgs into staging
Conflicts:
	pkgs/development/interpreters/ruby/ruby-19.nix
	pkgs/development/libraries/libc++/default.nix
	pkgs/development/libraries/libc++abi/default.nix
	pkgs/tools/text/sgml/opensp/default.nix
2014-09-23 11:27:53 +02:00
Jaka Hudoklin
aa7147c31b rubyLibs: add heroku client 2014-09-22 01:57:01 +02:00
Charles Strahan
e38d7cbfb2 Fix the new Ruby interpreters (fixes #3509).
Ruby >= 2.1.0 will try to download config.{sub,guess} if not already present.
This provides both files in a pure manner, and also deletes the download script
to prevent any future confusion.
2014-09-18 11:43:16 -04:00
Cillian de Róiste
a84c2d4357 Re-add rubyLibs.jekyll closes #4096 2014-09-16 15:31:29 +02:00
Jaka Hudoklin
bfa3b28590 rubyLibs: fix bundler 2014-09-16 10:28:04 +02:00
Jaka Hudoklin
782c85ad27 rubyLibs: add compass, regenerate 2014-09-16 10:28:04 +02:00
Charles Strahan
c27a653bba improve ruby support
* add the 2.1.x versions
* include teeny version in passthru
* by default, apply the same patches used by RVM
* clean up file names and attribute names
2014-09-15 23:54:17 -04:00
William A. Kennington III
3141ce3e15 gems: Add rdoc, execjs, uglifier 2014-09-11 15:41:45 -07:00
Domen Kožar
3f441d82f9 rubyLibs: add erubis and yajl 2014-09-12 00:31:37 +02:00
Domen Kožar
aa162b388d package gim-nix and document it 2014-09-12 00:26:51 +02:00
Joel Taylor
3e8344d334 suitable clang stdenv 2014-09-09 13:54:24 -07:00
Michael Fellinger
57b667fe65 ruby: add version 2.1.2 2014-08-31 13:24:10 +01:00
Domen Kožar
bce42c282a rubyLibs.nokogiri: fix build 2014-08-24 18:33:47 +02:00
Michael Raskin
ede8be9281 Fix tarball evaluation; had to regenerate Ruby gem list 2014-08-24 12:55:08 +04:00
Rickard Nilsson
52b53dc370 ruby gems: Add riemann-dash 2014-08-23 12:41:49 +02:00
Bjørn Forsman
f0be5119d9 ruby/patches.nix: sort attributes alphabetically
And remove trailing whitespace.
2014-02-01 19:56:54 +01:00
Shea Levy
44c97e02f6 Move GEM_PATH part of rubygems' setup hook to ruby
Fixes #1413

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-26 18:38:10 -05:00
Nixpkgs Monitor
56c9ae9b1d rubygems: update from 1.8.17 to 1.8.25, potentially fixes CVE-2012-2125, CVE-2012-2126, CVE-2013-4287, CVE-2013-4363 2013-12-04 05:10:30 +02:00
zimbatm
b802a7be88 Updates ruby 1.8.7 to the latest patch-level. WARNING: unsupported
ruby 1.8 should be phased out as it contains security issues and is
unsupported by the ruby core team. This is the last update available but it
doesn't fix all CVEs.
2013-12-02 20:11:58 +01:00
zimbatm
c8065de0af Updates ruby 2.0.0 to patch-level 353. Fixes CVE-2013-4164 2013-12-02 20:11:58 +01:00
zimbatm
75a6ed8ddb Updates ruby 1.9.3 to patch-level 484. Fixes CVE-2013-4164 2013-12-02 20:11:58 +01:00
zimbatm
7c6e108c2d Use the recommended http://cache.ruby-lang.org host to get the ruby archives 2013-12-02 20:11:58 +01:00
zimbatm
7a01483d51 Fixes ruby 2.0.0 compilation on Darwin. 2013-12-02 20:11:58 +01:00
Jason "Don" O'Conal
e4d0b4384e rubyLibs.rubyzip: add expression 2013-11-27 23:17:53 +01:00
Jason "Don" O'Conal
9f6353cc2b rubyLibs.pry: add expression 2013-11-27 23:17:53 +01:00
Jason "Don" O'Conal
8cdea678f0 rubyLibs.launchy: add expression 2013-11-27 23:17:53 +01:00
Jason "Don" O'Conal
b323b561ec rubyLibs.coderay: add expression 2013-11-27 23:17:53 +01:00
Jason "Don" O'Conal
f52a0d1110 rubyLibs.syntax: add expression 2013-11-27 23:17:53 +01:00
Jason "Don" O'Conal
e5387aeef3 rubyLibs.rmagick: add expression 2013-11-27 23:17:53 +01:00
Jason "Don" O'Conal
bc1c117e85 rubyLibs.rest_client: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
426d78edac rubyLibs.rb_kqueue: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
de1aa7a358 rubyLibs.posix_spawn: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
c1b8edcf2d rubyLibs.lumberjack: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
0110cea196 rubyLibs.listen: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
718f643b1c rubyLibs.jekyll: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
9dbd599a62 rubyLibs.guard: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
e7659105cf rubyLibs.formatador: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
18013d4a76 rubyLibs.fast_steamer: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
49213d5b4c rubyLibs.excon: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
55e698467f rubyLibs.colorator: add expression 2013-11-27 23:17:52 +01:00
Jason "Don" O'Conal
a54e4d3966 rubyLibs.coderay: add expression 2013-11-27 23:17:51 +01:00
Jason "Don" O'Conal
72214690f4 rubyLibs.celluloid: add expression 2013-11-27 23:17:51 +01:00
Jason "Don" O'Conal
62ebdd7a6a rubyLibs.resque_web: add expression 2013-11-09 17:44:28 +01:00
Jason "Don" O'Conal
ab18b33f3e sup: update to latest version 2013-10-27 21:57:09 +01:00
Bjørn Forsman
4585253027 Add cucumber ruby gem
Homepage: http://cukes.info/

Generated with "gem nix", but I removed changes to unrelated gems.
2013-09-25 15:25:31 +02:00
Shea Levy
aed1cd3c17 Add patch to fix GET Bucket requests to fake-s3
See https://github.com/jubos/fake-s3/pull/37

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-09-04 16:42:20 -04:00
Aristid Breitkreuz
07e2763f00 add travis ruby gem 2013-08-31 18:39:58 +02:00
Bjørn Forsman
e507a05ac7 Add taskjuggler ruby gem (2nd try)
This time I've verified that "gem nix" didn't produce any gems with
sha256 = "no hash". Hopefully nothing else breaks :-)

Thanks to phreedom and shlevy on IRC for the tip about removing
~/.gem/nix-sha256.cache to fix/workaround the "no hash" issue.
2013-08-18 22:45:29 +02:00
Shea Levy
3b274caaac Fix tarball
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-13 15:54:39 -04:00
Evgeny Egorochkin
c1749e5fb4 Add Mechanize Gem. Update other gems as a side effect :/ 2013-07-12 05:09:36 +03:00
Jason \"Don\" O'Conal
8938d57025 heroku gem: add expression 2013-07-05 11:25:19 +02:00
Evgeny Egorochkin
76fbbb73c6 Make most of Ruby Gem builds repeatable 2013-06-21 18:22:07 +03:00
Jason "Don" O'Conal
cf2b5daa15 sup: update to latest version 2013-06-20 10:09:15 +10:00
Sander van der Burg
aeaaa0a7e7 libv8 still broken in chroots, but this scons patch script fixes it 2013-06-18 17:14:17 +02:00
Sander van der Burg
1d4c7f50ec libv8 ruby gem has hardcoded reference to /usr/bin/env, so that it won't build in a chroot -> fix this 2013-06-18 13:05:43 +02:00
Jason "Don" O'Conal
02eef5b0f4 ruby-1.9: disable tk when compiling on darwin 2013-06-18 13:59:00 +10:00
Jason "Don" O'Conal
cfab5a8ecf ruby19: fix on darwin
* seems to require readline even when cursesSupport is not enabled
2013-06-16 21:39:09 +10:00
Jason "Don" O'Conal
d0d9470519 sup: add required gems and separate dependencies 2013-06-14 18:06:14 +10:00
Jason "Don" O'Conal
a5e65e66b1 sup: separate dependencies
create separate expressions for gems requiring native extensions to be
built:

* gpgme
* ncursesw_sup
* xapian_full_alaveteli
2013-06-13 10:45:51 +10:00
Evgeny Egorochkin
dbcfef8c41 Ruby 1.9: update and reenable parallel build, since there's a chance it was fixed. 2013-06-11 00:59:26 +03:00
Evgeny Egorochkin
24b1c74b7c Ruby 1.8: update 2013-06-11 00:10:34 +03:00
Evgeny Egorochkin
b93ac14bf6 Ruby 1.9 parallel build sometimes fails due to races. 2013-06-10 23:34:06 +03:00
Shea Levy
f39310b525 Add right_aws gem
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-28 09:59:18 -04:00
Shea Levy
6cd1dc255e Update rubygems
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-28 09:42:15 -04:00
Sander van der Burg
1dbd3a55c4 libv8-rubygem: Implemented a very depressing workaround that allows scons to build libv8.a, it's ugly but it works 2013-03-21 13:56:33 +01:00
Shea Levy
725e27fb58 Add papertrail-cli rubygem
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-15 09:25:06 -04:00
Shea Levy
bbf57c5a25 Add remote_syslog rubygem
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-15 09:24:52 -04:00
Shea Levy
cf20b47473 Update rubygems
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-15 09:22:52 -04:00
Shea Levy
101eba7bef rubyLibs.libv8 needs python
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-15 08:55:48 -04:00
Shea Levy
ae2b08aeb3 Add some fixes for gem nix.
Ideally these would be picked up upstream. Pull request at https://gitorious.org/ruby-nix/ruby-nix/merge_requests/1
2013-03-04 10:43:20 -05:00
Shea Levy
cddc4c6f63 Update rubygems 2013-03-04 10:23:05 -05:00
Shea Levy
6fe8fc00cf Add bitbucket-backup rubygem 2013-02-25 12:49:37 -05:00
Shea Levy
f5c334e1ab Update rubygems 2013-02-25 12:49:06 -05:00
Shea Levy
d380c264c3 Add ruby-2.0.0-p0 2013-02-25 06:16:32 -05:00
Shea Levy
07bd695e45 Add jsduck rubygem 2013-02-22 11:12:49 -05:00
Shea Levy
0202ddea63 Update rubygems 2013-02-22 11:08:50 -05:00
Shea Levy
b97aa0c4b1 Update rubygems.
More vulnerabilities:
https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/4_YvCpLzL58
https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/KtmwSbEpzrU
https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/AFBKNY7VSH8
2013-02-11 14:31:12 -05:00
Shea Levy
831d72cede Update rubygems.
Particularly for rack-1.5.2, fixes CVE-2013-0263 and CVE-2013-0262.
2013-02-08 18:26:38 -05:00
Shea Levy
30658882e8 Rubygems: Fix deps.
Gem nix in nixpkgs is broken, will have to update it.
2013-02-05 20:24:42 -05:00
Shea Levy
6cc91771a8 Mark ruby gems as such 2013-02-05 19:08:04 -05:00
Shea Levy
76cc4e760b Add thin rubygem 2013-02-04 15:53:09 -05:00
Shea Levy
af847fd8ce Add aws-sdk gem 2013-02-04 15:52:40 -05:00
Shea Levy
064638b0fd Add uuid rubygem 2013-02-04 15:51:25 -05:00
Shea Levy
e08ab1ebe5 Add sinatra-1.3.2 rubygem 2013-02-04 15:50:36 -05:00
Shea Levy
ff95e66e96 Add foreman rubygem 2013-02-04 15:16:13 -05:00
Shea Levy
ebfc26b43d Update rubygems 2013-01-31 14:33:02 -05:00
Eelco Dolstra
e6077fbc46 Remove getConfig helper function
An expression like ‘getConfig [ "cabal" "libraryProfiling" ] false’
can be written more concisely as ‘config.cabal.libraryProfiling or false’.
2012-09-19 13:56:56 -04:00
Eelco Dolstra
baf5e27aaf ruby: Fix URL and enable parallel building 2012-07-09 17:32:11 -04:00
Shea Levy
be48fe265a ruby: update to 1.9.3-p194 2012-07-09 17:29:57 -04:00
Eelco Dolstra
03964c1032 Add fakes3, an implementation of the S3 protocol for testing 2012-07-09 17:25:23 -04:00
Shea Levy
4a292d3bd6 gem nix missed a lot of hashes, strange...
svn path=/nixpkgs/trunk/; revision=33995
2012-05-05 20:25:42 +00:00
Shea Levy
c21ab61f9a gem nix failed to fill in the hash for bundler
svn path=/nixpkgs/trunk/; revision=33994
2012-05-05 20:12:54 +00:00
Shea Levy
5425b06ef6 Update rubygems
svn path=/nixpkgs/trunk/; revision=33993
2012-05-05 20:09:48 +00:00
Shea Levy
db28c68df0 mkDerivation handles propagatedUserEnvPkgs properly now
svn path=/nixpkgs/trunk/; revision=33444
2012-03-27 15:20:37 +00:00
Shea Levy
092487c1fb Update rubygems
svn path=/nixpkgs/trunk/; revision=33443
2012-03-27 15:14:13 +00:00
Shea Levy
26789f2e89 Update rubygems
svn path=/nixpkgs/trunk/; revision=33333
2012-03-21 14:07:29 +00:00
Shea Levy
a09a78165c Update rubygems
svn path=/nixpkgs/trunk/; revision=33155
2012-03-16 13:28:35 +00:00
Shea Levy
9eb1b81548 Update rubygems
svn path=/nixpkgs/trunk/; revision=32873
2012-03-08 05:45:23 +00:00