diff mbox series

[bug#58902] gnu: Add clojure-data-csv.

Message ID 8421f5810f4d58156e57d2b80c360702daca5874.1667248769.git.me@fabionatali.com
State New
Headers show
Series [bug#58902] gnu: Add clojure-data-csv. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success
cbaines/issue success View issue

Commit Message

Fabio Natali Oct. 31, 2022, 8:50 p.m. UTC
* 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(+)

Comments

Ludovic Courtès Nov. 14, 2022, 11:14 a.m. UTC | #1
Hi,

Fabio Natali <me@fabionatali.com> skribis:

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

Applied, thanks!

Ludo’.
diff mbox series

Patch

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