GNU bug report logs - #69091
[PATCH 0/1] Adding clojure.java-time

Previous Next

Package: guix-patches;

Reported by: Steve George <steve <at> futurile.net>

Date: Tue, 13 Feb 2024 02:52:01 UTC

Severity: normal

Tags: patch

Merged with 69119

Full log


View this message in rfc822 format

From: Steve George <steve <at> futurile.net>
To: 69091 <at> debbugs.gnu.org
Cc: steve <at> futurile.net
Subject: [bug#69091] [PATCH v2 1/1] gnu: Add clojure.java-time.
Date: Wed, 14 Feb 2024 08:57:02 +0000
* 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





This bug report was last modified 1 year and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.