unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Fabio Natali <me@fabionatali.com>
To: 58902@debbugs.gnu.org
Cc: Fabio Natali <me@fabionatali.com>
Subject: [bug#58902] [PATCH] gnu: Add clojure-data-csv.
Date: Mon, 31 Oct 2022 20:50:55 +0000	[thread overview]
Message-ID: <8421f5810f4d58156e57d2b80c360702daca5874.1667248769.git.me@fabionatali.com> (raw)
In-Reply-To: <92627730c0e5e47ceb8c64c3c8b595add32f7515.1667157599.git.me@fabionatali.com>

* 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





  reply	other threads:[~2022-10-31 20:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-30 19:23 [bug#58902] [PATCH] gnu: Add clojure-data-csv Fabio Natali
2022-10-31 20:50 ` Fabio Natali [this message]
2022-11-14 11:14   ` bug#58902: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8421f5810f4d58156e57d2b80c360702daca5874.1667248769.git.me@fabionatali.com \
    --to=me@fabionatali.com \
    --cc=58902@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).