diff mbox series

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

Message ID 92627730c0e5e47ceb8c64c3c8b595add32f7515.1667157599.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. 30, 2022, 7:23 p.m. UTC
* gnu/packages/clojure.scm (clojure-data-csv): New variable.
---
 gnu/packages/clojure.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
diff mbox series

Patch

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