[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/23: gnu: Add ruby-term-ansicolor.
From: |
Ricardo Wurmus |
Subject: |
04/23: gnu: Add ruby-term-ansicolor. |
Date: |
Mon, 14 Dec 2015 13:10:47 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit fd83a212bc9e18a0321b21e25a8e8c6fdbafb08f
Author: Ricardo Wurmus <address@hidden>
Date: Wed Nov 25 15:34:09 2015 +0100
gnu: Add ruby-term-ansicolor.
* gnu/packages/ruby.scm (ruby-term-ansicolor): New variable.
---
gnu/packages/ruby.scm | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d3b3d39..dec3e1e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1989,6 +1989,38 @@ Ruby's large and slower test/unit.")
(home-page "https://rubygems.org/gems/minitest_tu_shim")
(license license:expat)))
+(define-public ruby-term-ansicolor
+ (package
+ (name "ruby-term-ansicolor")
+ (version "1.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "term-ansicolor" version))
+ (sha256
+ (base32
+ "0ydbbyjmk5p7fsi55ffnkq79jnfqx65c3nj8d9rpgl6sw85ahyys"))))
+ (build-system ruby-build-system)
+ ;; Rebuilding the gemspec seems to require git, even though this is not a
+ ;; git repository, so we just build the gem from the existing gemspec.
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ (zero? (system* "gem" "build" "term-ansicolor.gemspec")))))))
+ (propagated-inputs
+ `(("ruby-tins" ,ruby-tins)))
+ (native-inputs
+ `(("ruby-gem-hadar" ,ruby-gem-hadar)
+ ("ruby-minitest-tu-shim" ,ruby-minitest-tu-shim)))
+ (synopsis "Ruby library to control the attributes of terminal output")
+ (description
+ "This Ruby library uses ANSI escape sequences to control the attributes
+of terminal output.")
+ (home-page "http://flori.github.io/term-ansicolor/")
+ ;; There is no mention of the "or later" clause.
+ (license license:gpl2)))
+
(define-public ruby-json
(package
(name "ruby-json")
- branch master updated (9c1c2a7 -> 0c4e762), Ricardo Wurmus, 2015/12/14
- 01/23: gnu: Add ruby-minitest-4., Ricardo Wurmus, 2015/12/14
- 03/23: gnu: Add ruby-minitest-tu-shim., Ricardo Wurmus, 2015/12/14
- 04/23: gnu: Add ruby-term-ansicolor.,
Ricardo Wurmus <=
- 08/23: gnu: Add ruby-saikuro-treemap., Ricardo Wurmus, 2015/12/14
- 05/23: gnu: Add ruby-pstree., Ricardo Wurmus, 2015/12/14
- 13/23: gnu: Add ruby-unf-ext., Ricardo Wurmus, 2015/12/14
- 12/23: gnu: Add ruby-netrc., Ricardo Wurmus, 2015/12/14
- 06/23: gnu: Add ruby-utils., Ricardo Wurmus, 2015/12/14
- 07/23: gnu: Add ruby-json-pure., Ricardo Wurmus, 2015/12/14
- 02/23: gnu: Add ruby-gem-hadar., Ricardo Wurmus, 2015/12/14
- 15/23: gnu: Add ruby-nokogiri-diff., Ricardo Wurmus, 2015/12/14
- 09/23: gnu: Add ruby-rb-fsevent., Ricardo Wurmus, 2015/12/14
- 10/23: gnu: ruby-listen: Add rb-fsevent to inputs., Ricardo Wurmus, 2015/12/14