From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MHEFIuygxGXKHgEA62LTzQ:P1 (envelope-from ) for ; Thu, 08 Feb 2024 10:37:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MHEFIuygxGXKHgEA62LTzQ (envelope-from ) for ; Thu, 08 Feb 2024 10:37:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707385068; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Kt1TO7BMZQt7HLowlW+XObGvlDl9bf7japAzrsflnBw=; b=n7f0BLhjzSqP85H1Q73Jbv+usxVaM3u8xoqOyb+l4ux/I8bPX4eyLh1IozP/1VF/H091zU 2YRj57weJsLTmDgqaKu3J9BfK3kFb0LR5qSpf5tGS64RE/lMM1rZInE23mPIjH8Ttp8/ee baayiMl0sbbNV7jAVWuJloQtj3WpFrxRPo3xeFpNwOeKVVBXtQkUOmaVL2cYoLWqRNKvbp NPMzyICtyxBRm6D+DSTNILtqzsPNWzDLck8QrlQj4p15PKZbACiaq2GNxw36uZrVk22KZ3 sDbSAcPtfZjfYQmuJQkYdryrYeDIFckB9SEAt+LFHUFfc0G+XBpQ2RV4hwxZVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707385068; a=rsa-sha256; cv=none; b=kfoVKSiiOPSuCTv2u2PO1RZ0+kE2auAuYOW0F1yvteMU5j6RLSaY/W3054y6pMFpQo1xZC Zw7QcfWfttHimpyFdBYwxmrFJ0LJbbHTf+qHIrEwwOTx95Kv8xkZDMoVFgX1Olbc64ounv vy56qRmJft1FVZU89DE5+RBiC+DVIvr/bRaxI6+egBw4ub5ejumGmZi1J52UNSQ262y7jD 859aV7z2D+FbKiZqtU7Q7p7StxfN40sOSmzG4OtqE27t1RjmCeh9bAec9KP/KdPgqmFyTx B0iEiEsu2a0EzjUk1hdJd56E0zfnEBxpKky8/XH+pEHQPyPYfSMeU3XI6qHmtg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6D12B6F374 for ; Thu, 8 Feb 2024 10:37:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rY0q1-0004iQ-7k; Thu, 08 Feb 2024 04:36:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rY0q0-0004hk-93 for guix-patches@gnu.org; Thu, 08 Feb 2024 04:36:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rY0q0-0001z8-14 for guix-patches@gnu.org; Thu, 08 Feb 2024 04:36:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rY0qE-0006Lb-9Q for guix-patches@gnu.org; Thu, 08 Feb 2024 04:37:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68990] [PATCH 15/28] gnu: Add ruby-time. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Feb 2024 09:37:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68990 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68990@debbugs.gnu.org Received: via spool by 68990-submit@debbugs.gnu.org id=B68990.170738500824140 (code B ref 68990); Thu, 08 Feb 2024 09:37:10 +0000 Received: (at 68990) by debbugs.gnu.org; 8 Feb 2024 09:36:48 +0000 Received: from localhost ([127.0.0.1]:59076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY0ps-0006HG-Cz for submit@debbugs.gnu.org; Thu, 08 Feb 2024 04:36:48 -0500 Received: from mail02.noris.net ([62.128.1.232]:50673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY0pq-0006H0-Kj for 68990@debbugs.gnu.org; Thu, 08 Feb 2024 04:36:47 -0500 Received: from p57b09e9c.dip0.t-ipconnect.de ([87.176.158.156] helo=hermia.goebel-consult.de) by mail02.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rY0pb-0000Qs-PL for 68990@debbugs.gnu.org; Thu, 08 Feb 2024 10:36:31 +0100 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id DB1285F557; Thu, 8 Feb 2024 10:36:00 +0100 (CET) From: Hartmut Goebel Date: Thu, 8 Feb 2024 10:35:45 +0100 Message-ID: <6d60d8f94ddcada4138f40ee4f37749505a3e843.1707383695.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Noris-IP: 87.176.158.156 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.27 X-Migadu-Queue-Id: 6D12B6F374 X-Spam-Score: -5.27 X-Migadu-Scanner: mx11.migadu.com X-TUID: sjgPXdaFsRVx * 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