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

From: Zheng Junjie <[email-masked]>
Date: Fri, 24 Jan 2025 10:58:53 +0800

Sughosha via Guix-patches via <[email-masked]> writes:

> * gnu/packages/csv.scm: New file.
[...]
> +
> +(define-module (gnu packages csv)
> +  #:use-module (guix packages)
> +  #:use-module (guix download)
> +  #:use-module (guix build-system gnu)
> +  #:use-module ((guix licenses) #:prefix license:))
> +
> +(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
> +     "The CSV library provides a flexible, intuitive interface for parsing and
> +writing csv data.")
> +    (license license:lgpl2.1+)))

This should go into gnu/packages/serialization.scm, There is no need to
add a separate file.