diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 11:54:38 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-08-05 17:15:44 +0100 |
commit | 4664e2c21561d40446ff3608505525d333b60d98 (patch) | |
tree | 4dc1e677c7bb36015176d0beca7b6a6c9cf1c887 | |
parent | ade8a80232ce3f1a854c31cb0feadc68b9dd4b77 (diff) | |
download | guix-4664e2c21561d40446ff3608505525d333b60d98.tar guix-4664e2c21561d40446ff3608505525d333b60d98.tar.gz |
gnu: Add ruby-rails-dom-testing.
-rw-r--r-- | gnu/packages/rails.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index e8e3dfdb34..51bec40ec0 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -167,3 +167,32 @@ API.") (home-page "https://github.com/rails/rails-html-sanitizer") (license license:expat))) + +(define-public ruby-rails-dom-testing + (package + (name "ruby-rails-dom-testing") + (version "2.0.2") + (source + (origin + (method url-fetch) + ;; The gem does not include a Rakefile, so we fetch the tarball from + ;; Github. + (uri (string-append "https://github.com/rails/rails-dom-testing/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bjc0mm4hc2xrq0066q7kbgzzmdn1vdnsv08xwy90vf2b6x70lxf")))) + (build-system ruby-build-system) + (native-inputs + `(("bundler" ,bundler))) + (propagated-inputs + `(("ruby-activesupport" ,ruby-activesupport) + ("ruby-nokogiri" ,ruby-nokogiri))) + (synopsis + " This gem can compare doms and assert certain elements exists in doms using Nokogiri. ") + (description + " This gem can compare doms and assert certain elements exists in doms using Nokogiri. ") + (home-page + "https://github.com/rails/rails-dom-testing") + (license license:expat))) |