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

Message ID 3469bfe4cd33852f3f5d06d0589adbc42ee49cda.1737709819.git.sughosha@disroot.org
State New
Headers
Series gnu: Add tellico. |

Commit Message

Sughosha Jan. 24, 2025, 9:18 a.m. UTC
  * gnu/packages/serialization.scm (libcsv): New variable.

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

Patch

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")