summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorFabio Natali <me@fabionatali.com>2022-10-31 20:50:55 +0000
committerLudovic Courtès <ludo@gnu.org>2022-11-14 12:31:34 +0100
commit98e4bfe96f2c99daa0b66b65c1d379bb385301a8 (patch)
tree1040c107cd26a9a479c1dbad0dea12ed2a02a30c /gnu
parente24f7762ac79084a289f544dd27b80d05ed298ff (diff)
downloadguix-98e4bfe96f2c99daa0b66b65c1d379bb385301a8.tar.gz
gnu: Add clojure-data-csv.
* gnu/packages/clojure.scm (clojure-data-csv): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/clojure.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 3b50def4db..e28998b570 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -372,6 +372,31 @@ All operations work on either byte arrays or Input/OutputStreams.  Performance
 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")