summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-11-25 15:38:33 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-12-14 14:06:29 +0100
commit16b324cdf4fc265f7b3f9662ff995bcefa932474 (patch)
tree29565e02a2d8b06efb58af29bc1ddac678cdc70a /gnu/packages/ruby.scm
parentb004fb6a8a28d220ad61128bc4e6040bb29df7ea (diff)
gnu: Add ruby-rb-fsevent.
* gnu/packages/ruby.scm (ruby-rb-fsevent): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 06eca79019..77d52bd983 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2163,6 +2163,28 @@ a native C extension.")
(home-page "http://flori.github.com/json")
(license license:ruby)))
+;; Even though this package only provides bindings for a Mac OSX API it is
+;; required by "ruby-listen" at runtime.
+(define-public ruby-rb-fsevent
+ (package
+ (name "ruby-rb-fsevent")
+ (version "0.9.6")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rb-fsevent" version))
+ (sha256
+ (base32
+ "1hq57by28iv0ijz8pk9ynih0xdg7vnl1010xjcijfklrcv89a1j2"))))
+ (build-system ruby-build-system)
+ ;; Tests need "guard-rspec", which needs "guard". However, "guard" needs
+ ;; "listen", which needs "rb-fsevent" at runtime.
+ (arguments `(#:tests? #f))
+ (synopsis "FSEvents API with signals catching")
+ (description
+ "This library provides Ruby bindings for the Mac OSX FSEvents API.")
+ (home-page "https://rubygems.org/gems/rb-fsevent")
+ (license license:expat)))
+
(define-public ruby-listen
(package
(name "ruby-listen")