[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: Add ruby-rb-inotify.
From: |
Ricardo Wurmus |
Subject: |
04/06: gnu: Add ruby-rb-inotify. |
Date: |
Mon, 02 Nov 2015 13:47:12 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit 48e6851f2f51bd9b21f30bc1e669cfc07341b0da
Author: Ricardo Wurmus <address@hidden>
Date: Fri Oct 30 16:43:51 2015 +0100
gnu: Add ruby-rb-inotify.
* gnu/packages/ruby.scm (ruby-rb-inotify): New variable.
---
gnu/packages/ruby.scm | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 3cd1465..471ce0f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1279,6 +1279,39 @@ aware transformations between times in different time
zones.")
(home-page "http://tzinfo.github.io")
(license license:expat)))
+(define-public ruby-rb-inotify
+ (package
+ (name "ruby-rb-inotify")
+ (version "0.9.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "rb-inotify" version))
+ (sha256
+ (base32
+ "0kddx2ia0qylw3r52nhg83irkaclvrncgy2m1ywpbhlhsz1rymb9"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:tests? #f ; there are no tests
+ #:phases
+ (modify-phases %standard-phases
+ ;; Building the gemspec with rake is not working here since it is
+ ;; generated with Jeweler. It is also unnecessary because the
+ ;; existing gemspec does not use any development tools to generate a
+ ;; list of files.
+ (replace 'build
+ (lambda _
+ (zero? (system* "gem" "build" "rb-inotify.gemspec")))))))
+ (propagated-inputs
+ `(("ruby-ffi" ,ruby-ffi)))
+ (native-inputs
+ `(("ruby-yard" ,ruby-yard)))
+ (synopsis "Ruby wrapper for Linux's inotify")
+ (description "rb-inotify is a simple wrapper over the @code{inotify} Linux
+kernel subsystem for monitoring changes to files and directories.")
+ (home-page "https://github.com/nex3/rb-inotify")
+ (license license:expat)))
+
(define-public ruby-json
(package
(name "ruby-json")
- branch master updated (60af3d8 -> 8d9e9f2), Ricardo Wurmus, 2015/11/02
- 02/06: gnu: Add ruby-ffi., Ricardo Wurmus, 2015/11/02
- 01/06: gnu: Add ruby-rubygems-tasks., Ricardo Wurmus, 2015/11/02
- 04/06: gnu: Add ruby-rb-inotify.,
Ricardo Wurmus <=
- 06/06: gnu: Add ruby-permutation., Ricardo Wurmus, 2015/11/02
- 05/06: gnu: Add ruby-listen., Ricardo Wurmus, 2015/11/02
- 03/06: gnu: Add ruby-simplecov-html., Ricardo Wurmus, 2015/11/02