Subject: [bug#75009] [PATCH v4 4/5] gnu: Add libcsv.

From: Sughosha <[email-masked]>
Date: Fri, 24 Jan 2025 14:48:14 +0530

* gnu/packages/serialization.scm (libcsv): New variable.

Change-Id: I0099d72027ccb1c22e937993d36b979c52bb67d3
---
 gnu/packages/serialization.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 338682d16c..2e51b0ade7 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -423,6 +423,24 @@ (define-public lua5.2-libmpack
     (inputs
      `(("lua" ,lua-5.2)))))
 
+(define-public libcsv
+  (package
+    (name "libcsv")
+    (version "3.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/libcsv/libcsv/libcsv-"
+                                  version "/libcsv-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1r6pxdxrc3vfil1f9ng1dblm82asdqz6hkz7dj4vkkh3p0f47h6r"))))
+    (build-system gnu-build-system)
+    (home-page "http://sourceforge.net/projects/libcsv/")
+    (synopsis "CSV parser and writer library")
+    (description
+     "This package provides a C library for parsing and writing CSV data.")
+    (license license:lgpl2.1+)))
+
 (define-public libscfg
   (package
     (name "libscfg")
-- 
2.47.1