aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-08-26 13:48:13 +0200
committerJulien Lepiller <julien@lepiller.eu>2018-09-01 23:07:52 +0200
commitddc3a66798919afe98173dbd176ce818c57949af (patch)
treec6e5a7b798d3749324dd5249163de34e3204d753 /gnu
parent0c8eedc153cb7293f2bf148be32171a0e1ea7a39 (diff)
downloadguix-ddc3a66798919afe98173dbd176ce818c57949af.tar
guix-ddc3a66798919afe98173dbd176ce818c57949af.tar.gz
gnu: Add ruby-diffy.
* gnu/packages/ruby.scm (ruby-diffy): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5fdf53c9c9..0f2b66139f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5280,3 +5280,26 @@ about the changes.")
(synopsis "Terminfo binding for Ruby")
(description "Ruby-terminfo provides terminfo binding for Ruby.")
(license license:bsd-3)))
+
+(define-public ruby-diffy
+ (package
+ (name "ruby-diffy")
+ (version "3.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "diffy" version))
+ (sha256
+ (base32
+ "119imrkn01agwhx5raxhknsi331y5i4yda7r0ws0an6905ximzjg"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; No tests
+ `(#:tests? #f))
+ (native-inputs
+ `(("ruby-rspec" ,ruby-rspec)))
+ (home-page "https://github.com/samg/diffy")
+ (synopsis "Convenient diffing in ruby")
+ (description "Diffy provides a convenient way to generate a diff from two
+strings or files.")
+ (license license:expat)))