guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#59844] [PATCH v2] gnu: Add fare-csv.


From: jgart
Subject: [bug#59844] [PATCH v2] gnu: Add fare-csv.
Date: Tue, 6 Dec 2022 08:33:36 -0600

* gnu/packages/lisp-xyz.scm (cl-fare-csv, ecl-fare-csv, sbcl-fare-csv):
New variables.

Hi Tobias,

Thanks for the review. v2 changes the license to bsd-2 but I'm waiting on
the author who might or might not change the license to MIT or Apache 2:

https://github.com/fare/fare-csv/issues/4


all best,

jgart

---
 gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 57becbe994..4468722740 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -6601,6 +6601,36 @@ (define-public cl-metabang-bind
 (define-public ecl-metabang-bind
   (sbcl-package->ecl-package sbcl-metabang-bind))
 
+(define-public sbcl-fare-csv
+  (let ((commit "39fcada5db2899af172454899ff13a07c62ebdb9")
+        (revision "0"))
+    (package
+      (name "sbcl-fare-csv")
+      (version (git-version "1.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/fare/fare-csv";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "09iq4mfvqlgfcj8gazdwr8y03jrh10aa2y847sz46wdnr2bkys00"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-hu.dwim.stefil))
+      (home-page "https://fare-csv.github.io/fare-csv";)
+      (synopsis "Robust CSV parser and printer")
+      (description "Robust CSV parser and printer that tries to follow the
+fine print of de facto standards. It can be configured to choose which
+standard exactly.")
+      (license license:bsd-2))))
+
+(define-public cl-fare-csv
+  (sbcl-package->cl-source-package sbcl-fare-csv))
+
+(define-public ecl-fare-csv
+  (sbcl-package->ecl-package sbcl-fare-csv))
+
 (define-public sbcl-fare-utils
   (let ((commit "66e9c6f1499140bc00ccc22febf2aa528cbb5724")
         (revision "1"))
-- 
2.38.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]