[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/20: gnu: Add ruby-colorize.
From: |
guix-commits |
Subject: |
10/20: gnu: Add ruby-colorize. |
Date: |
Wed, 20 May 2020 17:53:32 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 305e9b33ca25f6d6c017fa988d72e08760dc0074
Author: Marius Bakke <address@hidden>
AuthorDate: Wed May 20 18:41:04 2020 +0200
gnu: Add ruby-colorize.
* gnu/packages/ruby.scm (ruby-colorize): New public variable.
---
gnu/packages/ruby.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4eb9d0d..248518b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7842,6 +7842,36 @@ is part of Ruby's standard library. It more closely
conforms to RFC 3986,
RFC 3987, and RFC 6570 (level 4), providing support for IRIs and URI
templates.")
(license license:asl2.0)))
+(define-public ruby-colorize
+ (package
+ (name "ruby-colorize")
+ (version "0.8.1")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "colorize" version))
+ (sha256
+ (base32
+ "133rqj85n400qk6g3dhf2bmfws34mak1wqihvh3bgy9jhajw580b"))))
+ (build-system ruby-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (add-before 'check 'remove-codeclimate-dependency
+ (lambda _
+ (substitute* "test/test_colorize.rb"
+ ;; Do not hook the tests into the online CodeClimate
+ ;; service which is unnecessary for these tests.
+ (("require 'codeclimate-test-reporter'")
+ "")
+ (("CodeClimate.*") ""))
+ #t)))))
+ (synopsis "Add color effects to the @code{String} class")
+ (description
+ "This package extends the @code{String} class and adds a
+@code{ColorizedString} with methods to set text color, background color,
+and text effects.")
+ (home-page "http://github.com/fazibear/colorize")
+ (license license:gpl2+)))
+
(define-public ruby-colorator
(package
(name "ruby-colorator")
- branch master updated (bbac3ff -> 9b65cdd), guix-commits, 2020/05/20
- 01/20: gnu: Add ruby-deep-merge., guix-commits, 2020/05/20
- 02/20: gnu: Add ruby-hocon., guix-commits, 2020/05/20
- 03/20: gnu: Add ruby-wwtd., guix-commits, 2020/05/20
- 04/20: gnu: Add ruby-single-cov., guix-commits, 2020/05/20
- 07/20: gnu: Add ruby-maxitest., guix-commits, 2020/05/20
- 05/20: gnu: ruby-mocha: Update to 1.11.2., guix-commits, 2020/05/20
- 06/20: gnu: ruby-mocha: Update license., guix-commits, 2020/05/20
- 08/20: gnu: Add ruby-fakefs., guix-commits, 2020/05/20
- 09/20: gnu: Add ruby-gherkin-ruby., guix-commits, 2020/05/20
- 10/20: gnu: Add ruby-colorize.,
guix-commits <=
- 13/20: gnu: Add ruby-forking-test-runner., guix-commits, 2020/05/20
- 14/20: gnu: Add ruby-fast-gettext., guix-commits, 2020/05/20
- 15/20: gnu: varnish-modules: Update to 0.16.0., guix-commits, 2020/05/20
- 20/20: gnu: python-shouldbe: Python 3.8 compatibility., guix-commits, 2020/05/20
- 11/20: gnu: Add ruby-spinach., guix-commits, 2020/05/20
- 12/20: gnu: Add ruby-parallel-tests., guix-commits, 2020/05/20
- 16/20: gnu: varnish-modules: Update description., guix-commits, 2020/05/20
- 17/20: gnu: fontconfig: Add replacement with font-dejavu instead of gs-fonts., guix-commits, 2020/05/20
- 18/20: gnu: Add python-random-user-agent., guix-commits, 2020/05/20
- 19/20: gnu: racket-minimal: Fix hash for version 7.7., guix-commits, 2020/05/20