From patchwork Mon Oct 31 20:50:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Natali X-Patchwork-Id: 44224 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 25B9B27BBEA; Mon, 31 Oct 2022 20:52:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A458A27BBE9 for ; Mon, 31 Oct 2022 20:52:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opblb-0003RB-MB; Mon, 31 Oct 2022 16:52:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opblK-0003OC-AZ for guix-patches@gnu.org; Mon, 31 Oct 2022 16:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1opblK-0006OC-3E for guix-patches@gnu.org; Mon, 31 Oct 2022 16:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1opblJ-0001vQ-Tg for guix-patches@gnu.org; Mon, 31 Oct 2022 16:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58902] [PATCH] gnu: Add clojure-data-csv. References: <92627730c0e5e47ceb8c64c3c8b595add32f7515.1667157599.git.me@fabionatali.com> In-Reply-To: <92627730c0e5e47ceb8c64c3c8b595add32f7515.1667157599.git.me@fabionatali.com> Resent-From: Fabio Natali Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 31 Oct 2022 20:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58902@debbugs.gnu.org Cc: Fabio Natali Received: via spool by 58902-submit@debbugs.gnu.org id=B58902.16672494697339 (code B ref 58902); Mon, 31 Oct 2022 20:52:01 +0000 Received: (at 58902) by debbugs.gnu.org; 31 Oct 2022 20:51:09 +0000 Received: from localhost ([127.0.0.1]:42029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opbkT-0001uI-2Y for submit@debbugs.gnu.org; Mon, 31 Oct 2022 16:51:09 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:46161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opbkQ-0001to-OC for 58902@debbugs.gnu.org; Mon, 31 Oct 2022 16:51:07 -0400 Received: (Authenticated sender: me@fabionatali.com) by mail.gandi.net (Postfix) with ESMTPSA id 2CC01240005; Mon, 31 Oct 2022 20:50:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1667249460; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ETPD+AXuEN3zqCt49cFp+Y3k2Yn7voP/AP5PGrB5L5o=; b=hGQk5NzUC56xyK81OjWvnWvKskEmcAVZ/WbgbXlLxIKOFkAmoC6GlA8c7ffFnSy2DpZc/H RRuHwLtmjwt1fQDt2HzQVN8nKWfE0g0aJd7pEi2FmSJDaAUg/Vlc1afj/UCwILYC0B0fPZ lJkmGIuiPD7c0uYk4O2ZlTXLJRVQdPukHPcKlD6hchPXxXaMzmFcfqFA7fJsjbTMrPcFks +q0A07F7oB3OGND9Eq0m04sQfzpH3Euygb52lPp7eCMxliRLq9oLYRJUqw/7o2Rk8VauRn c8OFLkHyap7mqj3NTrd7STjSJ1lYBvmB0bpuOQcJfrFbO/XASIjMcpxUMeJTEA== From: Fabio Natali Date: Mon, 31 Oct 2022 20:50:55 +0000 Message-Id: <8421f5810f4d58156e57d2b80c360702daca5874.1667248769.git.me@fabionatali.com> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")