[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: Add ruby-awesome-print.
From: |
guix-commits |
Subject: |
05/06: gnu: Add ruby-awesome-print. |
Date: |
Fri, 5 Feb 2021 15:29:29 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit ff350f98c080d30d6df1f9bfa5833cbdb1b5a913
Author: Giacomo Leidi <goodoldpaul@autistici.org>
AuthorDate: Mon Jan 4 01:32:14 2021 +0100
gnu: Add ruby-awesome-print.
* gnu/packages/ruby.scm (ruby-awesome-print): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ruby.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f18c564..05cdc94 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1102,6 +1102,43 @@ line of code.")
;; of the Expat license.
(license license:bsd-3)))
+(define-public ruby-awesome-print
+ (package
+ (name "ruby-awesome-print")
+ (version "1.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "awesome_print" version))
+ (sha256
+ (base32
+ "14arh1ixfsd6j5md0agyzvksm5svfkvchb90fp32nn7y3avcmc2h"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ ;; Remove failing test.
+ (for-each delete-file
+ '("spec/ext/nokogiri_spec.rb"
+ "spec/colors_spec.rb"
+ "spec/formats_spec.rb"
+ "spec/methods_spec.rb"
+ "spec/misc_spec.rb"
+ "spec/objects_spec.rb"))
+ (invoke "rspec" "-c" "spec"))))))
+ (native-inputs
+ `(("ruby-nokogiri" ,ruby-nokogiri)
+ ("ruby-rspec" ,ruby-rspec)
+ ("ruby-simplecov" ,ruby-simplecov)))
+ (synopsis "Pretty print Ruby objects to visualize their structure")
+ (description
+ "Ruby dubugging companion: pretty print Ruby objects to visualize their
+structure. Supports custom object formatting via plugins.")
+ (home-page "https://github.com/awesome-print/awesome_print")
+ (license license:expat)))
+
(define-public ruby-pandoc-ruby
(package
(name "ruby-pandoc-ruby")
- branch master updated (8383472 -> 9539d6b), guix-commits, 2021/02/05
- 01/06: gnu: Add ruby-yell., guix-commits, 2021/02/05
- 04/06: gnu: Add ruby-typhoeus., guix-commits, 2021/02/05
- 03/06: gnu: Add ruby-ethon., guix-commits, 2021/02/05
- 05/06: gnu: Add ruby-awesome-print.,
guix-commits <=
- 02/06: gnu: Add ruby-patron., guix-commits, 2021/02/05
- 06/06: gnu: Add ruby-html-proofer., guix-commits, 2021/02/05