From: Aaron Covrig via Guix-patches via <guix-patches@gnu.org>
To: 74342@debbugs.gnu.org
Cc: Aaron Covrig <aaron.covrig.us@ieee.org>
Subject: [bug#74342] [PATCH] gnu: add ruby-text-table
Date: Mon, 25 Nov 2024 21:20:04 -0500 [thread overview]
Message-ID: <20241126022800.40701-1-aaron.covrig.us@ieee.org> (raw)
In-Reply-To: <31005192-0db9-4e8c-9380-7f972337f59f@mailbox.org>
* gnu/packages/ruby.scm (ruby-text-table): New variable.
---
Thank you for the addition, I cleaned up some corruption and linting
guidelines in the commit, along with disabling tests as there seem to be
none defined (although I am not particularly familiar with Ruby).
Additionally, I split the Copyright change across two lines to preserve
the original name and email combination while also adding in the new name
and email combination (I'm not sure what Guix's official policy is to
resolve changing name and email relations from the Copyright header, so
someone more familiar with the project will need to finalize that).
Additionally, for reviewers I have only tested this via building and not
attempted to use the package to verify that it works.
v/r,
Aaron
gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f08d52dbc8..c7b66c0482 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -27,6 +27,7 @@
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2021 EuAndreh <eu@euandre.org>
;;; Copyright © 2020 Tomás Ortín Fernández <tomasortin@mailbox.org>
+;;; Copyright © 2024 Tomás Ortín Fernández <quanrong@mailbox.org>
;;; Copyright © 2021 Giovanni Biscuolo <g@xelera.eu>
;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2022-2024 Remco van 't Veer <remco@remworks.net>
@@ -15585,6 +15586,27 @@ (define-public ruby-sinatra
(home-page "https://sinatrarb.com/")
(license license:expat)))
+(define-public ruby-text-table
+ (package
+ (name "ruby-text-table")
+ (version "1.2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "text-table" version))
+ (sha256
+ (base32 "06yhlnb49fn0fhkmi6lrziyv2hd42gcm2zi3sggm2qab48qxn94j"))))
+ (build-system ruby-build-system)
+ (arguments (list #:tests? #f))
+ (synopsis "Allows you to easily create and format plain text tables")
+ (description
+ "Allows you to easily create and format plain text tables, useful
+when working
+with the terminal or when you want to quickly print formatted tables to a
+dot-matrix printer.")
+ (home-page "https://github.com/aptinio/text-table")
+ (license license:expat)))
+
(define-public ruby-timeout
(package
(name "ruby-timeout")
base-commit: 9b1fb12978482ffb6d37c456343f05609b28b3e8
--
2.46.0
prev parent reply other threads:[~2024-11-26 2:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 12:12 [bug#74342] [PATCH 1/1] gnu: add ruby-text-table Quanrong via Guix-patches via
2024-11-26 2:20 ` Aaron Covrig via Guix-patches via [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241126022800.40701-1-aaron.covrig.us@ieee.org \
--to=guix-patches@gnu.org \
--cc=74342@debbugs.gnu.org \
--cc=aaron.covrig.us@ieee.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).