diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 12:04:02 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-03-18 22:16:32 +0000 |
commit | 197cb5f53784b3282106d7b68ddf7cd4673080f9 (patch) | |
tree | 8137152e89ace21e168b59d97e5287c2e75935e1 /gnu/packages | |
parent | 5284372f84d7f345338d0d0c156defc1bf8ddd21 (diff) | |
download | guix-197cb5f53784b3282106d7b68ddf7cd4673080f9.tar guix-197cb5f53784b3282106d7b68ddf7cd4673080f9.tar.gz |
gnu: Add ruby-spring-watcher-listen.
Diffstat (limited to 'gnu/packages')
-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") |