aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-11-25 15:44:35 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-12-14 14:06:29 +0100
commitf60f5002225a9cc6c397a8da88631fd7bbe40312 (patch)
tree25d181c280d589f721f26d2d233066a7e9e458e0 /gnu
parent2632a0671283fb1dabb02f98acce2777c3d67309 (diff)
downloadgnu-guix-f60f5002225a9cc6c397a8da88631fd7bbe40312.tar
gnu-guix-f60f5002225a9cc6c397a8da88631fd7bbe40312.tar.gz
gnu: Add ruby-nokogiri-diff.
* gnu/packages/ruby.scm (ruby-nokogiri-diff): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9ac859bf61..dfacb8ceb0 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2427,6 +2427,31 @@ tree-like structures. It is similar to Ruby's built-in @code{TSort} module.")
(home-page "https://github.com/postmodern/tdiff")
(license license:expat)))
+(define-public ruby-nokogiri-diff
+ (package
+ (name "ruby-nokogiri-diff")
+ (version "0.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "nokogiri-diff" version))
+ (sha256
+ (base32
+ "0njr1s42war0bj1axb2psjvk49l74a8wzr799wckqqdcb6n51lc1"))))
+ (build-system ruby-build-system)
+ (propagated-inputs
+ `(("ruby-tdiff" ,ruby-tdiff)
+ ("ruby-nokogiri" ,ruby-nokogiri)))
+ (native-inputs
+ `(("ruby-rspec-2" ,ruby-rspec-2)
+ ("ruby-yard" ,ruby-yard)
+ ("ruby-rubygems-tasks" ,ruby-rubygems-tasks)))
+ (synopsis "Calculate the differences between two XML/HTML documents")
+ (description
+ "@code{Nokogiri::Diff} adds the ability to calculate the
+differences (added or removed nodes) between two XML/HTML documents.")
+ (home-page "https://github.com/postmodern/nokogiri-diff")
+ (license license:expat)))
+
(define-public ruby-rack
(package
(name "ruby-rack")