From patchwork Sun Oct 30 19:23:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Natali X-Patchwork-Id: 44202 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 7F48827BBEA; Sun, 30 Oct 2022 19:25:15 +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=unavailable 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 B436F27BBE9 for ; Sun, 30 Oct 2022 19:25:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opDvc-00023a-70; Sun, 30 Oct 2022 15:25:04 -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 1opDva-00023S-RL for guix-patches@gnu.org; Sun, 30 Oct 2022 15:25: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 1opDva-0006wm-Jm for guix-patches@gnu.org; Sun, 30 Oct 2022 15:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1opDva-0005eA-Dy for guix-patches@gnu.org; Sun, 30 Oct 2022 15:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58902] [PATCH] gnu: Add clojure-data-csv. Resent-From: Fabio Natali Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Oct 2022 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58902@debbugs.gnu.org Cc: Fabio Natali X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166715785821648 (code B ref -1); Sun, 30 Oct 2022 19:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2022 19:24:18 +0000 Received: from localhost ([127.0.0.1]:39035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opDus-0005d4-HI for submit@debbugs.gnu.org; Sun, 30 Oct 2022 15:24:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:33610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opDuq-0005cw-9L for submit@debbugs.gnu.org; Sun, 30 Oct 2022 15:24:16 -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 1opDup-0001tY-Qk for guix-patches@gnu.org; Sun, 30 Oct 2022 15:24:16 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opDum-0006lc-Ld for guix-patches@gnu.org; Sun, 30 Oct 2022 15:24:14 -0400 Received: (Authenticated sender: me@fabionatali.com) by mail.gandi.net (Postfix) with ESMTPSA id 66507C0002; Sun, 30 Oct 2022 19:24:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1667157847; 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=XrlfcZIfSpAFkoJSvXnzQdaPCBf8Vh2ceRAgtG2dL58=; b=GQ9z1lnUc/8IFmMy2C2FWvRAe6rWYaPMwSpUK2TJ8IArMFxYu1Fc/9Jl0STZRfs+LdsIqD 3OT5Jl2+Ljt2VYLwf4LU4qs1gim6tLi8QUA62nCbDLNiGGvHVwutiMeAkOTP6cbvEXBb13 4AuJNZM3NRUuoYlY0R+/EgRo2UcYicVXDtWxEGEl39E8IBdrpYfnWVdUO8LCD8j3WbNzp0 AZVpoSvQGmCSYmG6O9z9g29dCkNWAUbToN+lNrvkqOuKLxxJwnW6Be73e5qoWDGv26LI8+ jdt5zf9CAeSrn4gdhlU4jN53tfWbn8/DFhfQqB1664YBoFE4TgOKXIAWmVbhqQ== From: Fabio Natali Date: Sun, 30 Oct 2022 19:23:40 +0000 Message-Id: <92627730c0e5e47ceb8c64c3c8b595add32f7515.1667157599.git.me@fabionatali.com> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Received-SPF: pass client-ip=217.70.183.198; envelope-from=me@fabionatali.com; helo=relay6-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-data-csv): New variable. --- gnu/packages/clojure.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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")