diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/rails.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 3915065e56..691a1cb8de 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -64,6 +64,41 @@ migration.") (home-page "https://github.com/rails/spring") (license license:expat))) +(define-public ruby-spring-watcher-listen + (package + (name "ruby-spring-watcher-listen") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "spring-watcher-listen" version)) + (sha256 + (base32 + "16gjqbhj3bkambafziza4pbw6g4zvh8z17lj87m8r90pgzcp93sj")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f ; circular dependency with rails? + #:phases + (modify-phases %standard-phases + (add-before 'check 'fix-gemfile + (lambda _ + (substitute* "Gemfile" + (("^gem \\\"spring.*") "gem 'spring'\ngem 'listen'\n")) + #t))))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-activesupport" ,ruby-activesupport))) + (propagated-inputs + `(("ruby-listen" ,ruby-listen) + ("ruby-spring" ,ruby-spring))) + (synopsis + "Makes spring watch files using the listen gem.") + (description + "Makes spring watch files using the listen gem.") + (home-page + "https://github.com/jonleighton/spring-watcher-listen") + (license license:expat))) + (define-public ruby-debug-inspector (package (name "ruby-debug-inspector") |