unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Steve George <steve@futurile.net>
To: 69091@debbugs.gnu.org
Cc: Steve George <steve@futurile.net>
Subject: [bug#69091] [PATCH 1/1] gnu: Add clojure.java-time.
Date: Tue, 13 Feb 2024 08:44:51 +0000	[thread overview]
Message-ID: <866de51f2018bbad4a69a325a062b39d6e845e98.1707813784.git.steve@futurile.net> (raw)
In-Reply-To: <cover.1707775899.git.steve@futurile.net>

* gnu/packages/clojure.scm (clojure.java-time): New variable.

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

diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 27fce6f368e..f7c5530e35a 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -661,3 +661,28 @@ (define-public clojure-tools-gitlibs
 indicated by git SHAs.  This library provides this functionality and also
 keeps a cache of git directories and working trees that can be reused.")
     (license license:epl1.0)))
+
+(define-public clojure.java-time
+  (package
+    (name "clojure.java-time")
+    (version "1.4.2")
+    (home-page "https://github.com/dm3/clojure.java-time")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url home-page)
+                     (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+                (base32
+                  "0rykvgslxaxw6qc1lpv21299d9kx3waj34wi1jvzqlnbs2x1p9fh"))))
+    (build-system clojure-build-system)
+    (arguments
+     `(#:tests? #f  ;;FIXME: tests requires math.combinatorics dependency
+       #:doc-dirs '("docs")
+       #:aot-exclude '(#:all)))
+    (synopsis "A Clojure wrapper for Java's @code{java.time} API.")
+    (description "This library wraps Java's @code{java.time} API.  It provides
+a set of Clojure functions for dealing with Date-Time without requiring any
+additional packages.")
+    (license license:epl1.0)))

base-commit: b64862e5cb8209c92aa2eff4cec0be328e38c45d
-- 
2.41.0





  reply	other threads:[~2024-02-13  8:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-12 22:18 [bug#69091] [PATCH 0/1] Adding clojure.java-time Steve George
2024-02-13  8:44 ` Steve George [this message]
2024-02-14  8:57   ` [bug#69119] [PATCH v2 1/1] gnu: Add clojure.java-time Steve George
2024-02-16 10:06 ` [bug#69091] Package name Andreas Enge
2024-03-02 16:17   ` [bug#69119] [PATCH v2 1/1] gnu: Add clojure.java-time Ludovic Courtès
2024-03-03 16:45     ` Steve George

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=866de51f2018bbad4a69a325a062b39d6e845e98.1707813784.git.steve@futurile.net \
    --to=steve@futurile.net \
    --cc=69091@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).