all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juliana Sims via Guix-patches via <guix-patches@gnu.org>
To: 51046@debbugs.gnu.org
Cc: phodina@protonmail.com, Juliana Sims <juli@incana.org>
Subject: [bug#51046] [PATCH v2] gnu: Add rdate.
Date: Thu,  7 Mar 2024 14:43:06 -0500	[thread overview]
Message-ID: <268a9188fbcd506422f8d606045d133d89e27db6.1709840586.git.juli@incana.org> (raw)
In-Reply-To: <SUBY-hDCsK2thC0eX2cx2RQm84xwhff1uJL3k4YeoCYQLCyH-fzBm4vjIK_NW9x4_tvYoLRjm1b6XlbF1wY5yxe536ffvRJCTYvZNi7pKp0=@protonmail.com>

Hello!

It's been quite some time since this patch was submitted, and it still works!
It needed two small changes -- adding the autotools module and using a different
license symbol format -- so I've gone ahead and made those changes. I also took
the liberty of updating the inputs to the new format. There are no semantic
changes to the patch itself.

Thanks again for submitting this!
Juli

* gnu/packages/time.scm (rdate): New variable.

Change-Id: I12217c62fe17a93bdb5364f807804eea7fc57a23
---
 gnu/packages/time.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index b0d800da949..14b02352d6f 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -40,6 +40,7 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (gnu packages time)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
@@ -549,6 +550,30 @@ (define-public python-aniso8601
      "This package contains a library for parsing ISO 8601 datetime strings.")
     (license bsd-3)))
 
+(define-public rdate
+  (let ((commit "91d84610e3695e90a884e2953908e95a856a9b74")
+        (revision "1"))
+    (package
+      (name "rdate")
+      (version (git-version "1.4" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/njh/rdate")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "002ryjq8gj1ml5la4v6dr3bh1zw5kxwy65rpziq8d2ccccarhv59"))))
+      (build-system gnu-build-system)
+      (native-inputs (list autoconf automake))
+      (synopsis "Get date and time based on RFC 868")
+      (description
+       "@code{rdate} connects to an RFC 868 time server over a TCP/IP network,
+printing the returned time and/or setting the system clock.")
+      (home-page "https://www.aelius.com/njh/rdate/")
+      (license gpl2))))
+
 (define-public datefudge
   (package
     (name "datefudge")

base-commit: 7f2f1bcddae64c48f793cde15c21617fa706c157
-- 
2.41.0





  reply	other threads:[~2024-03-07 19:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05 22:45 [bug#51046] [PATCH] gnu: Add rdate phodina via Guix-patches via
2024-03-07 19:43 ` Juliana Sims via Guix-patches via [this message]
2024-03-08  9:43 ` bug#51046: Close Andreas Enge

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=268a9188fbcd506422f8d606045d133d89e27db6.1709840586.git.juli@incana.org \
    --to=guix-patches@gnu.org \
    --cc=51046@debbugs.gnu.org \
    --cc=juli@incana.org \
    --cc=phodina@protonmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.