From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "51739@debbugs.gnu.org" <51739@debbugs.gnu.org>
Subject: [bug#51739] [PATCH 3/3] gnu: Add rdate.
Date: Wed, 10 Nov 2021 03:08:17 +0000 [thread overview]
Message-ID: <kp9AWdEEXaZbjd9epDygdzA9aOR9qbdm407QfhvojIvz_n95Gs20MqKtFug3IQNbdFF70TtUsibU1nEY5EgXVH7tTX_fTmaVgZ4tKyfN_dQ=@protonmail.com> (raw)
In-Reply-To: <ioyrzAc-JgqevdUX06bX9ZEgFZXfRoXCZQPDVnzEcz51TbVIz7cKJlEcDiD4C9tdsJc72kfHlKEN5mcxlym701nPPUGwtld5p7mdCRrZ1g4=@protonmail.com>
* gnu/packages/time.scm (rdate): New variable.
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index ce0f644194..581a40f5d3 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -36,6 +36,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 check)
#:use-module (gnu packages compression)
#:use-module (gnu packages golang)
@@ -465,11 +466,35 @@ (define-public python-aniso8601
(synopsis "Python library for parsing ISO 8601 strings")
(description
"This package contains a library for parsing ISO 8601 datetime strings.")
- (license bsd-3)))
+ (license license:bsd-3)))
(define-public python2-aniso8601
(package-with-python2 python-aniso8601))
+(define-public rdate
+ (let ((commit "91d84610e3695e90a884e2953908e95a856a9b74")
+ (revision "1"))
+ (package
+ (name "rdate")
+ (version commit)
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/njh/rdate")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "002ryjq8gj1ml5la4v6dr3bh1zw5kxwy65rpziq8d2ccccarhv59"))))
+ (build-system gnu-build-system)
+ (native-inputs `(("autoconf" ,autoconf)
+ ("automake" ,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 license:gpl2))))
+
(define-public datefudge
(package
(name "datefudge")
--
2.33.1
next prev parent reply other threads:[~2021-11-10 3:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-10 3:04 [bug#51739] [PATCH 1/3] gnu: Add realmd phodina via Guix-patches via
2021-11-10 3:07 ` [bug#51739] [PATCH 2/3] gnu: Use license: prefix phodina via Guix-patches via
2021-11-10 22:26 ` Leo Famulari
2021-11-10 3:08 ` phodina via Guix-patches via [this message]
2021-11-10 22:29 ` [bug#51739] [PATCH 3/3] gnu: Add rdate Leo Famulari
2021-11-10 22:33 ` [bug#51739] [PATCH 1/3] gnu: Add realmd Leo Famulari
2021-12-01 16:43 ` Ludovic Courtès
2021-12-01 16:42 ` Ludovic Courtès
2021-12-02 19:08 ` phodina via Guix-patches via
2021-12-02 19:13 ` phodina via Guix-patches via
2021-12-02 19:24 ` Leo Famulari
2021-12-02 21:50 ` phodina via Guix-patches via
2021-12-02 22:24 ` Leo Famulari
2021-12-03 14:17 ` phodina via Guix-patches via
2021-12-08 19:27 ` bug#51739: " Leo Famulari
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='kp9AWdEEXaZbjd9epDygdzA9aOR9qbdm407QfhvojIvz_n95Gs20MqKtFug3IQNbdFF70TtUsibU1nEY5EgXVH7tTX_fTmaVgZ4tKyfN_dQ=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=51739@debbugs.gnu.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.