unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 68990@debbugs.gnu.org
Subject: [bug#68990] [PATCH 15/28] gnu: Add ruby-time.
Date: Thu,  8 Feb 2024 10:35:45 +0100	[thread overview]
Message-ID: <6d60d8f94ddcada4138f40ee4f37749505a3e843.1707383695.git.h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <cover.1707383694.git.h.goebel@crazy-compilers.com>

* gnu/packages/ruby.scm (ruby-time): New variable.
---
 gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 4299673313..ad24d68d61 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -738,6 +738,30 @@ (define-public ruby-date
     (home-page "https://github.com/ruby/date")
     (license license:bsd-2)))
 
+(define-public ruby-time
+  (package
+    (name "ruby-time")
+    (version "0.3.0")
+    (source (origin
+              (method git-fetch)  ; for tests
+              (uri (git-reference
+                    (url "https://github.com/ruby/time")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0jd6df2lxd60wcxyaf37j8v3nnfn952d5xhg6aap9zlcdmkk4g2n"))))
+    (build-system ruby-build-system)
+    (propagated-inputs (list ruby-date))
+    (native-inputs (list ruby-test-unit-ruby-core))
+    (synopsis
+     "Extends the Time class with methods for parsing and conversion")
+    (description
+     "When this gem is @code{require}d, it extends the Time class with with
+additional methods for parsing and converting Times.")
+    (home-page "https://github.com/ruby/time")
+    (license license:bsd-2)))
+
 (define-public ruby-diff-lcs
   (package
     (name "ruby-diff-lcs")
-- 
2.41.0





  parent reply	other threads:[~2024-02-08  9:37 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-08  9:28 [bug#68990] [PATCH 00/28] Some ruby packages Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 01/28] gnu: Add ruby-test-unit-ruby-core Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 02/28] gnu: Add ruby-excon Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 03/28] gnu: Add ruby-ipaddr Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 04/28] gnu: Add ruby-net-ftp Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 05/28] gnu: Add ruby-fake-ftp Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 06/28] gnu: Add ruby-net-sftp Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 07/28] gnu: Add ruby-net-telnet Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 08/28] gnu: Add ruby-pairing-heap Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 09/28] gnu: Add ruby-stringio Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 10/28] gnu: Add ruby-stream Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 11/28] gnu: Add ruby-rgl Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 12/28] gnu: Add ruby-sfl Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 13/28] gnu: Add ruby-specinfra Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 14/28] gnu: Add ruby-serverspec Hartmut Goebel
2024-02-08  9:35 ` Hartmut Goebel [this message]
2024-02-08  9:35 ` [bug#68990] [PATCH 16/28] gnu: Add ruby-google-protobuf Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 17/28] gnu: Add ruby-googleapis-common-protos-types Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 18/28] gnu: Add ruby-grpc Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 19/28] gnu: Add ruby-vagrant-cloud Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 20/28] gnu: Add ruby-vagrant-spec Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 21/28] gnu: Add ruby-vagrant-spec-helper-basic Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 22/28] gnu: Add ruby-hashicorp-checkpoint Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 23/28] gnu: ruby-childprocess: Update to 4.1.0 Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 24/28] gnu: Add ruby-libvirt Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 25/28] gnu: Add ruby-fog-core Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 26/28] gnu: Add ruby-fog-json Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 27/28] gnu: Add ruby-fog-xml Hartmut Goebel
2024-02-08  9:35 ` [bug#68990] [PATCH 28/28] gnu: Add ruby-fog-libvirt Hartmut Goebel
     [not found] ` <handler.68990.B.170738456723129.ack@debbugs.gnu.org>
2024-02-24 15:55   ` bug#68990: Acknowledgement ([PATCH 00/28] Some ruby packages) Hartmut Goebel

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=6d60d8f94ddcada4138f40ee4f37749505a3e843.1707383695.git.h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=68990@debbugs.gnu.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).