unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58902] [PATCH] gnu: Add clojure-data-csv.
@ 2022-10-30 19:23 Fabio Natali
  2022-10-31 20:50 ` Fabio Natali
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Natali @ 2022-10-30 19:23 UTC (permalink / raw)
  To: 58902; +Cc: Fabio Natali

* gnu/packages/clojure.scm (clojure-data-csv): New variable.
---
 gnu/packages/clojure.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 622e43ac48..ad6d2dd49f 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -373,6 +373,31 @@ (define-public clojure-data-codec
 is on par with Java implementations, e.g., Apache commons-codec.")
     (license license:epl1.0)))
 
+(define-public clojure-data-csv
+  (package
+    (name "clojure-data-csv")
+    (version "1.0.1")
+    (home-page "https://github.com/clojure/data.csv")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1mh1qli6xrw4s3yj9cxxh50z4m7z08indj3ya30znkhi4xsphii2"))))
+    (build-system clojure-build-system)
+    (arguments
+     '(#:source-dirs '("src/main/clojure")
+       #:test-dirs '("src/test/clojure" "src/test/resources")
+       #:doc-dirs '()))
+    (synopsis "Clojure library for reading and writing CSV data")
+    (description "@code{data.csv} is a Clojure library for reading and writing
+CSV data. @code{data.csv} follows the RFC4180 specification but is more
+relaxed.")
+    (license license:epl1.0)))
+
 (define-public clojure-data-xml
   (package
     (name "clojure-data-xml")
-- 
2.38.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#58902] [PATCH] gnu: Add clojure-data-csv.
  2022-10-30 19:23 [bug#58902] [PATCH] gnu: Add clojure-data-csv Fabio Natali
@ 2022-10-31 20:50 ` Fabio Natali
  2022-11-14 11:14   ` bug#58902: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Natali @ 2022-10-31 20:50 UTC (permalink / raw)
  To: 58902; +Cc: Fabio Natali

* gnu/packages/clojure.scm (clojure-data-csv): New variable.
---
Hi, please ignore my previous patch as that was not correctly tested. This one
should be fine - hopefully. :) Thanks, best, Fabio.

 gnu/packages/clojure.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 622e43ac48..dbbe2049e4 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -373,6 +373,31 @@ (define-public clojure-data-codec
 is on par with Java implementations, e.g., Apache commons-codec.")
     (license license:epl1.0)))
 
+(define-public clojure-data-csv
+  (package
+    (name "clojure-data-csv")
+    (version "1.0.1")
+    (home-page "https://github.com/clojure/data.csv")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url home-page)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1mh1qli6xrw4s3yj9cxxh50z4m7z08indj3ya30znkhi4xsphii2"))))
+    (build-system clojure-build-system)
+    (arguments
+     '(#:source-dirs '("src/main/clojure")
+       #:test-dirs '("src/test/clojure")
+       #:doc-dirs '()))
+    (synopsis "Clojure library for reading and writing CSV data")
+    (description "@code{data.csv} is a Clojure library for reading and writing
+CSV data. @code{data.csv} follows the RFC4180 specification but is more
+relaxed.")
+    (license license:epl1.0)))
+
 (define-public clojure-data-xml
   (package
     (name "clojure-data-xml")
-- 
2.38.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#58902: [PATCH] gnu: Add clojure-data-csv.
  2022-10-31 20:50 ` Fabio Natali
@ 2022-11-14 11:14   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2022-11-14 11:14 UTC (permalink / raw)
  To: Fabio Natali; +Cc: 58902-done

Hi,

Fabio Natali <me@fabionatali.com> skribis:

> * gnu/packages/clojure.scm (clojure-data-csv): New variable.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-15  0:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-30 19:23 [bug#58902] [PATCH] gnu: Add clojure-data-csv Fabio Natali
2022-10-31 20:50 ` Fabio Natali
2022-11-14 11:14   ` bug#58902: " Ludovic Courtès

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).